X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=Makefile.head;fp=Makefile.head;h=03d083270a5cce746aa3ac0ee426648334beeb50;hp=e3665175dfd8d6aa7636cdb10118ec2323e7b479;hb=cbc65abe11c50aed3d5e7be7d1e736d5ced4f4e8;hpb=139f54779f6395a1828261423cd8013ca940ff36 diff --git a/Makefile.head b/Makefile.head index e366517..03d0832 100644 --- a/Makefile.head +++ b/Makefile.head @@ -49,19 +49,22 @@ CINCS += -I$(TOP)/include/c -I$(TOP)/include/c/std \ WARN += -Wall -Werror OPT += -O2 DEBUG += -g3 -ABI += -freg-struct-return +TFLAGS += -freg-struct-return # Target and ABI flags ifeq ($(V),) V := @ else override V := endif -CXXFLAGS += $(DEFS) $(CXXINCS) $(CXXWARN) $(OPT) $(DEBUG) $(ABI) +CXXFLAGS += $(DEFS) $(CXXINCS) $(CXXWARN) $(OPT) $(DEBUG) $(TFLAGS) BUILDCXXFLAGS += $(BUILDDEFS) $(CXXWARN) $(OPT) $(DEBUG) -CFLAGS += $(CINCS) $(DEFS) $(CWARN) $(OPT) $(DEBUG) $(ABI) +CFLAGS += $(CINCS) $(DEFS) $(CWARN) $(OPT) $(DEBUG) $(TFLAGS) BUILDCFLAGS += $(BUILDDEFS) $(CWARN) $(OPT) $(DEBUG) +ASFLAGS += $(TFLAGS) +LDFLAGS += $(TFLAGS) + .PHONY: all default rerun dep servers clean distclean .SUFFIXES: