summaryrefslogtreecommitdiffstats
path: root/stand/usb
diff options
context:
space:
mode:
Diffstat (limited to 'stand/usb')
-rw-r--r--stand/usb/Makefile5
-rw-r--r--stand/usb/Makefile.test4
2 files changed, 0 insertions, 9 deletions
diff --git a/stand/usb/Makefile b/stand/usb/Makefile
index 1b94b3d..ab14a6d 100644
--- a/stand/usb/Makefile
+++ b/stand/usb/Makefile
@@ -36,15 +36,10 @@ INTERNALLIB=
CFLAGS+= -DBOOTPROG=\"usbloader\"
CFLAGS+= -ffunction-sections -fdata-sections
-CFLAGS+= -ffreestanding
CFLAGS+= -Wformat -Wall
CFLAGS+= -g
CFLAGS+= -fno-pic
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
-CFLAGS+= -march=i386
-CFLAGS.gcc+= -mpreferred-stack-boundary=2
-.endif
.if ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -m32
.endif
diff --git a/stand/usb/Makefile.test b/stand/usb/Makefile.test
index 7c6a66d1..decee69 100644
--- a/stand/usb/Makefile.test
+++ b/stand/usb/Makefile.test
@@ -38,10 +38,6 @@ SRCS=
CFLAGS+= -Wall
CFLAGS+= -g
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
-CFLAGS+= -march=i386
-CFLAGS.gcc+= -mpreferred-stack-boundary=2
-.endif
.if ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -m32
.endif
OpenPOWER on IntegriCloud