search internal headers first
authorRich Felker <dalias@aerifal.cx>
Thu, 1 Mar 2012 05:21:20 +0000 (00:21 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 1 Mar 2012 05:21:20 +0000 (00:21 -0500)
this is necessitated by the ugly <syscall.h> just added

Makefile

index 15ab4fc..7aa6c4f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ GENH = include/bits/alltypes.h
 
 CFLAGS  = -Os -nostdinc -ffreestanding -std=c99 -D_XOPEN_SOURCE=700 -pipe
 LDFLAGS = -nostdlib -shared -fPIC -Wl,-e,_start -Wl,-Bsymbolic-functions
 
 CFLAGS  = -Os -nostdinc -ffreestanding -std=c99 -D_XOPEN_SOURCE=700 -pipe
 LDFLAGS = -nostdlib -shared -fPIC -Wl,-e,_start -Wl,-Bsymbolic-functions
-INC     = -I./include -I./src/internal -I./arch/$(ARCH)
+INC     = -I./src/internal -I./include -I./arch/$(ARCH)
 PIC     = -fPIC -O3
 AR      = $(CROSS_COMPILE)ar
 RANLIB  = $(CROSS_COMPILE)ranlib
 PIC     = -fPIC -O3
 AR      = $(CROSS_COMPILE)ar
 RANLIB  = $(CROSS_COMPILE)ranlib