9884 cw(1) should use -fpic rather than -Kpic
[unleashed.git] / usr / src / boot / sys / boot / ficl / i386 / Makefile
blob10e0c32dae111fd7540c1576c7f94606d092e77c
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Toomas Soome <tsoome@me.com>
16 include $(SRC)/Makefile.master
18 MACHINE= $(MACH)
20 all install: lib
22 include ../Makefile.inc
24 CFLAGS += -m32 -march=i386 -mpreferred-stack-boundary=2
25 CFLAGS += -fno-reorder-functions
27 FRC: