aboutsummaryrefslogtreecommitdiff
path: root/stand/usb
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-11-20 22:42:17 +0000
committerWarner Losh <imp@FreeBSD.org>2017-11-20 22:42:17 +0000
commit8a4217aacf57330755501a349d0ea662d4880386 (patch)
treec654a0b01626c218eb3359addb4cc8cfc19d540c /stand/usb
parentca50d6799da337ffbd58dbaadfed0c9f8a969e32 (diff)
downloadsrc-8a4217aacf57330755501a349d0ea662d4880386.tar.gz
src-8a4217aacf57330755501a349d0ea662d4880386.zip
Notes
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 1b94b3db7d82..ab14a6d002a3 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 7c6a66d17310..decee690b707 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