Don't pass assembler flags to the compiler.
authorSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Sun, 28 Dec 2008 14:09:22 +0000 (15:09 +0100)
committerSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Mon, 29 Dec 2008 18:43:49 +0000 (19:43 +0100)
sys/boot/pc32/boot0/Makefile
sys/boot/pc32/boot2/Makefile

index feee220..2f97f98 100644 (file)
@@ -62,7 +62,7 @@ ${PROG}: boot0.o bootasmdef.nx
        objcopy -S -O binary boot0.out ${.TARGET}
 
 boot0.o: boot0.S
-       ${CC} -c ${CFLAGS} ${AFLAGS} ${.IMPSRC} -o ${.TARGET}
+       ${CC} -c ${CFLAGS} ${.IMPSRC} -o ${.TARGET}
 
 CLEANFILES+= boot0.out boot0.o bootasmdef.nx
 
index 958326c..2e0786e 100644 (file)
@@ -94,7 +94,7 @@ boot1.out: boot1.o bootasmdef.nx
        ${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} boot1.o
 
 boot1.o: boot1.S
-       ${CC} ${CFLAGS} -DFLAGS=${B1FLAGS} ${AFLAGS} \
+       ${CC} ${CFLAGS} -DFLAGS=${B1FLAGS} \
                ${.IMPSRC} -o ${.TARGET} -c
 
 boot2.o: boot2.c ${.CURDIR}/../../common/ufsread.c ${.CURDIR}/../../../../lib/libstand/hammerread.c
@@ -131,7 +131,7 @@ boot2.o: boot2.h
 
 sio.o: sio.S
        ${CC} -DSIOPRT=${BOOT_COMCONSOLE_PORT} -DSIOFMT=${B2SIOFMT} \
-               -DSIOSPD=${BOOT_COMCONSOLE_SPEED} ${AFLAGS} \
+               -DSIOSPD=${BOOT_COMCONSOLE_SPEED} \
                ${.IMPSRC} -o ${.TARGET} -c
 
 install: