Skip to content

Commit

Permalink
Set CFLAGS/CPPFLAGS when re-running configure scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Oct 25, 2013
1 parent bf65764 commit c35eb76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ CONFIGURE_ARGS := $(shell head -10 config.log | grep '^ \$$' | sed 's/^..../

src/%all.mk: src/%all.mk.in src/%configure
@echo CONFIGURE $(dir $@)
@cd $(dir $<) && ./configure $(CONFIGURE_ARGS)
@rm -f ./config.cache $(dir $<)/config.cache
@cd $(dir $<) && CPPFLAGS=$(DARWIN_CFLAGS) CFLAGS=$(DARWIN_CFLAGS) ./configure $(CONFIGURE_ARGS)
endif

.PHONY: check-includes
Expand Down

0 comments on commit c35eb76

Please sign in to comment.