From: Duncan C. <dun...@us...> - 2004-12-13 21:32:08
|
Update of /cvsroot/gtk2hs/gtk2hs/mk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31708/mk Modified Files: common.mk Log Message: Allow per-module HCFLAGS. Use per-module HCFLAGS to get c2hs to build without -fglasgow-exts except for the Parsers and C2HSConfig modules. Index: common.mk =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/mk/common.mk,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- common.mk 12 Dec 2004 21:57:32 -0000 1.43 +++ common.mk 13 Dec 2004 21:31:55 -0000 1.44 @@ -16,7 +16,8 @@ .hs.o: $(CONFIG_H) @echo Building for $(NAME) - $(strip $(HC) -c $< -o $@ $(HCFLAGS) $($(NAME)_HCFLAGS) -i$(VPATH) \ + $(strip $(HC) -c $< -o $@ $(HCFLAGS) $($(NAME)_HCFLAGS) \ + $(call getVar,$<,HCFLAGS) -i$(VPATH) \ $(addprefix -package ,$($(NAME)_PACKAGEDEPS)) \ $(addprefix -package-name ,$(notdir $(basename $($(NAME)_PACKAGE)))) \ $(addprefix '-\#include<,$(addsuffix >',$(CONFIG_H) \ |