From 6e23d9a665299074c3261461178908747db2b0da Mon Sep 17 00:00:00 2001 From: Michael Karcher Date: Wed, 15 Mar 2017 21:29:26 +0100 Subject: [PATCH] libunix: add -ffreestanding to CFLAGS to fix nonnull-compare warning --- libunix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libunix/Makefile b/libunix/Makefile index 755c160..f3704e4 100644 --- a/libunix/Makefile +++ b/libunix/Makefile @@ -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