diff options
author | Aaron Ecay <aaronecay@gmail.com> | 2010-04-11 19:44:52 -0400 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-04-14 10:46:36 -0700 |
commit | c10085c77b407d9ea704f8b4f9e0a805f63e72cb (patch) | |
tree | f85057a74d2a22531f17ae0148cf991f4a2b13ff /Makefile.local | |
parent | 16f0e7dcf4dc42f9637fdc82f887761b246b98c9 (diff) |
Fix up Makefile for build.
Must set extra_c(xx)flags before including subdir Makefile.local's,
so that there is a blank slate that the subdirs can add on to.
Must include subdir Makefile.local's before global one, otherwise
the compat sources are not added to the list of those to be
compiled.
Signed-off-by: Aaron Ecay <aaronecay@gmail.com>
Diffstat (limited to 'Makefile.local')
-rw-r--r-- | Makefile.local | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Makefile.local b/Makefile.local index 8b926f8d..fbff9497 100644 --- a/Makefile.local +++ b/Makefile.local @@ -33,11 +33,6 @@ Makefile.config: configure @echo "" ./configure -# Sub-directory Makefile.local fragments can append to these variables -# to have directory-specific cflags as necessary. -extra_cflags := -extra_cxxflags := - # Smash together user's values with our extra values FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags) FINAL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(CONFIGURE_CXXFLAGS) $(extra_cflags) $(extra_cxxflags) |