Skip to content

Commit

Permalink
made GNU Make 'preprocess' target use CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
gpakosz committed Aug 28, 2013
1 parent ee3600c commit dac079c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _gnu-make/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ preprocess-$(1): $$(srcdir)/$(1).c
@sed -E\
-e 's/#include (<|").+(>|")/pp(&)/'\
$$(srcdir)/$(1).c > $$(tmp)
@$$(CPP) $$(CPPFLAGS) -DPACKEDARRAY_SELF=__FILE__ -xc $$(tmp) | sed -E\
@$$(CPP) $$(CPPFLAGS) -DPACKEDARRAY_SELF=__FILE__ $$(CFLAGS) -xc $$(tmp) | sed -E\
-e '/^# /d'\
-e 's/[ \t]*$$$$//'\
-e 's/pp\((.*)\)/\1/'\
Expand Down

0 comments on commit dac079c

Please sign in to comment.