X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=f0df92c409bf1ee0a76b50736ad9700257a451ca;hb=7043e3314c5843994dbd6615aca71b0378950b3e;hp=bb5c1553c3682296eb19a4d133854566553fa65b;hpb=2fa62a8319b951b761c235bde156e1eeacce996a;p=palacios.git diff --git a/Makefile b/Makefile index bb5c155..f0df92c 100644 --- a/Makefile +++ b/Makefile @@ -298,9 +298,9 @@ V3_INCLUDE := -Ipalacios/include \ CPPFLAGS := $(V3_INCLUDE) -D__V3VEE__ -CFLAGS := -fno-stack-protector -Wall -O -Werror -fPIC -mno-red-zone +CFLAGS := -fno-stack-protector -Wall -O -Werror -fPIC -mno-red-zone -fno-common -LDFLAGS := --whole-archive +LDFLAGS := --whole-archive ifeq ($(call cc-option-yn, -fgnu89-inline),y) CFLAGS += -fgnu89-inline @@ -818,7 +818,7 @@ endif ALLSOURCE_ARCHS := $(ARCH) define all-sources - ( find $(__srctree)/palacios $(RCS_FIND_IGNORE) \ + ( find $(__srctree)palacios $(RCS_FIND_IGNORE) \ \( -name lib \) -prune -o \ -name '*.[chS]' -print; ) endef