| @@ -1,7 +1,9 @@ | | | @@ -1,7 +1,9 @@ |
1 | # $NetBSD: Makefile.inc,v 1.6 2006/06/02 19:45:56 mrg Exp $ | | 1 | # $NetBSD: Makefile.inc,v 1.7 2008/12/21 11:48:30 ad Exp $ |
2 | | | 2 | |
3 | # Standard kernel compile flags | | 3 | CFLAGS+= -G 0 -mno-abicalls -ffixed-23 |
4 | CFLAGS += -G 0 -mno-abicalls | | | |
5 | | | 4 | |
6 | # Needed so modules loaded in KSEG2 can make calls to KSEG0 | | 5 | .if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el" |
7 | CFLAGS += -mlong-calls | | 6 | CFLAGS+= -msym32 |
| | | 7 | .endif |
| | | 8 | |
| | | 9 | AFLAGS+= -mno-abicalls -x assembler-with-cpp -traditional-cpp ${AOPTS} |