Explorar o código

make gcc-specific headers (intrinsics, etc.) available with wrapper

they are intentionally listed after the libc include directory so that
the gcc float.h, etc. don't get used in place of the libc ones.
Rich Felker %!s(int64=11) %!d(string=hai) anos
pai
achega
c161356002
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tools/musl-gcc.specs.sh

+ 2 - 2
tools/musl-gcc.specs.sh

@@ -5,10 +5,10 @@ cat <<EOF
 %rename cpp_options old_cpp_options
 
 *cpp_options:
--nostdinc -isystem $incdir %(old_cpp_options)
+-nostdinc -isystem $incdir -isystem include%s %(old_cpp_options)
 
 *cc1:
-%(cc1_cpu) -nostdinc -isystem $incdir 
+%(cc1_cpu) -nostdinc -isystem -isystem include%s $incdir 
 
 *link_libgcc:
 -L$libdir -L .%s