mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 15:29:11 +01:00
t-haiku: work-around the broken limits.h check
Checking for $(SYSTEM_HEADER_DIR)/limits.h doesn't work when cross-compiling a native compiler, since that refers to the location of the header on the target platform.
This commit is contained in:
parent
bb9d1326db
commit
ce0819bf46
@ -10,6 +10,12 @@ CROSS_SYSTEM_HEADER_DIR := $(CROSS_SYSTEM_HEADER_DIR)/posix
|
||||
# Use the system assert.h
|
||||
INSTALL_ASSERT_H =
|
||||
|
||||
# Override the test that checks for the existence of a system limits.h header.
|
||||
# When cross compiling a native compiler for Haiku we don't actually know where
|
||||
# the system headers the cross compiler uses are. But we know Haiku has a
|
||||
# limits.h,
|
||||
LIMITS_H_TEST = true
|
||||
|
||||
winnt.o: $(srcdir)/config/i386/winnt.c
|
||||
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/winnt.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user