diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-27 19:31:15 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-27 19:31:15 -0500 |
commit | efdf04cf877574b4e3905802e0039f844077f58f (patch) | |
tree | 8c1b3f289d123278b80d1de39ca1631c33fdba5f /configure | |
parent | e1d99894b6ce23055a2e29f72763e7fd9585a87f (diff) | |
download | musl-efdf04cf877574b4e3905802e0039f844077f58f.tar.gz musl-efdf04cf877574b4e3905802e0039f844077f58f.tar.xz musl-efdf04cf877574b4e3905802e0039f844077f58f.zip |
add arch/generic include fallback to build rules
this sets the stage for the first phase of the bits deduplication. bits headers which are identical for "most" archs will be moved to arch/generic/bits.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure index 41ef9df7..a296f8ab 100755 --- a/configure +++ b/configure @@ -651,8 +651,9 @@ echo '#include <float.h>' > "$tmpc" echo '#if LDBL_MANT_DIG == 53' >> "$tmpc" echo 'typedef char ldcheck[9-(int)sizeof(long double)];' >> "$tmpc" echo '#endif' >> "$tmpc" -if $CC $CFLAGS_C99FSE -I$srcdir/arch/$ARCH -I$srcdir/include $CPPFLAGS $CFLAGS \ - -c -o /dev/null "$tmpc" >/dev/null 2>&1 ; then +if $CC $CFLAGS_C99FSE \ + -I$srcdir/arch/$ARCH -I$srcdir/arch/generic -I$srcdir/include \ + $CPPFLAGS $CFLAGS -c -o /dev/null "$tmpc" >/dev/null 2>&1 ; then printf "yes\n" else printf "no\n" |