summaryrefslogtreecommitdiffstats
path: root/stand/usb/Makefile
diff options
context:
space:
mode:
authorkevans <kevans@FreeBSD.org>2018-02-12 01:17:06 +0000
committerkevans <kevans@FreeBSD.org>2018-02-12 01:17:06 +0000
commit10d0cc49e4d903a7f94a1693ad0c34defaf4360d (patch)
treeed1376e4fc03f8b50aaf18c2139787ae27947448 /stand/usb/Makefile
parent7d97ee5b28b409c00bfaf12daf5ab497a6038b9d (diff)
downloadFreeBSD-src-10d0cc49e4d903a7f94a1693ad0c34defaf4360d.zip
FreeBSD-src-10d0cc49e4d903a7f94a1693ad0c34defaf4360d.tar.gz
MFC r326038,r326069,r326072: More stand simplification and fixes
r326038: Move some more common stuff up to Makefile.inc. r326069: Fix gptzfsboot for cases with GELI. r326072: Unbreak riscv build in universe.
Diffstat (limited to 'stand/usb/Makefile')
-rw-r--r--stand/usb/Makefile5
1 files changed, 0 insertions, 5 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
OpenPOWER on IntegriCloud