libunix: add -ffreestanding to CFLAGS to fix nonnull-compare warning

This commit is contained in:
Michael Karcher 2017-03-15 21:29:26 +01:00 committed by John Paul Adrian Glaubitz
parent b6f49c0e6b
commit 6e23d9a665
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
TOP = $(shell pwd)
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -fpic -O2 -Os
CFLAGS += -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -ffreestanding -fpic -O2 -Os
CPPFLAGS = -I$(TOP) -I$(TOP)/../libmacos -DARCH_M68K
LIBRARY = libunix.a