X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=9acf2de7e3d5a53a4a0d37ab6db3ede9e9b11b43;hb=95c3bb063747b4d70a24464d3d67e9c16799d9f9;hp=3450def7d56a6163a672874eb7904fe4c29bf791;hpb=15dbc69e8f6cfe2821125700d5fb95f588a403a5;p=palacios.git diff --git a/Makefile b/Makefile index 3450def..9acf2de 100644 --- a/Makefile +++ b/Makefile @@ -183,7 +183,7 @@ HOSTCC = gcc HOSTCXX = g++ HOSTCFLAGS = -Wall -Wstrict-prototypes -fomit-frame-pointer \ -Wno-unused -Wno-format-security -U_FORTIFY_SOURCE -HOSTCXXFLAGS = -O2 +HOSTCXXFLAGS = -O # Decide whether to build built-in, modular, or both. # Normally, just do built-in. @@ -299,6 +299,9 @@ V3_INCLUDE := -Ipalacios/include \ CPPFLAGS := $(V3_INCLUDE) -D__V3VEE__ CFLAGS := -fno-stack-protector -Wall -Werror -fPIC -mno-red-zone -fno-common +#-fPIC +#-ffreestanding + LDFLAGS := --whole-archive @@ -480,7 +483,7 @@ endif ifdef CONFIG_DEBUG_INFO CFLAGS += -g else -CFLAGS += -O2 +CFLAGS += -O endif