1
0
forked from GitHub/gf-core

Handle giving several options in LDFLAGS and CPPFLAGS correctly.

This commit is contained in:
bringert
2007-12-20 15:55:26 +00:00
parent 5cb91cd027
commit 9999634574

View File

@@ -42,11 +42,11 @@ ifeq ("$(READLINE)","readline")
endif endif
ifneq ("$(CPPFLAGS)","") ifneq ("$(CPPFLAGS)","")
GHCFLAGS += -optP'$(CPPFLAGS)' GHCFLAGS += $(addprefix -optP, $(CPPFLAGS))
endif endif
ifneq ("$(LDFLAGS)","") ifneq ("$(LDFLAGS)","")
GHCFLAGS += -optl'$(LDFLAGS)' GHCFLAGS += $(addprefix -optl, $(LDFLAGS))
endif endif
ifeq ("$(INTERRUPT)","yes") ifeq ("$(INTERRUPT)","yes")