mirror of
https://github.com/matrix-construct/construct
synced 2024-12-24 14:34:00 +01:00
Ensure EXTRA_*FLAGS is properly appended after other build flags.
This commit is contained in:
parent
336f740036
commit
6bbde81b44
5 changed files with 21 additions and 16 deletions
|
@ -1,7 +1,8 @@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
ACLOCAL_AMFLAGS = -I tools/m4
|
||||
|
||||
SUBDIRS = include/ircd
|
||||
SUBDIRS =#
|
||||
SUBDIRS += include/ircd
|
||||
SUBDIRS += ircd
|
||||
SUBDIRS += matrix
|
||||
SUBDIRS += modules
|
||||
|
|
|
@ -16,8 +16,8 @@ LOWMEM_FLAGS= --param ggc-min-expand=1
|
|||
endif
|
||||
endif
|
||||
|
||||
AM_CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
AM_CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
|
||||
# includedir = @includedir@/$(PACKAGE_TARNAME)
|
||||
includedir = @includedir@/ircd
|
||||
|
|
|
@ -68,9 +68,13 @@ AM_LDFLAGS += -Wl,--enable-runtime-pseudo-reloc
|
|||
AM_LDFLAGS += -export-symbols-regex '*'
|
||||
endif
|
||||
|
||||
AM_CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
AM_CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
AM_LDFLAGS += $(EXTRA_LDFLAGS)
|
||||
CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
LDFLAGS += $(EXTRA_LDFLAGS)
|
||||
|
||||
#
|
||||
# libircd
|
||||
#
|
||||
|
||||
libircddir = @libdir@
|
||||
libircd_LTLIBRARIES =#
|
||||
|
|
|
@ -58,18 +58,18 @@ if MINGW
|
|||
AM_LDFLAGS += -Wl,--enable-runtime-pseudo-reloc
|
||||
endif
|
||||
|
||||
AM_CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
AM_CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
AM_LDFLAGS += $(EXTRA_LDFLAGS)
|
||||
CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
LDFLAGS += $(EXTRA_LDFLAGS)
|
||||
|
||||
#
|
||||
# libircd_matrix
|
||||
#
|
||||
|
||||
libircd_matrixdir = @libdir@
|
||||
libircd_matrix_LTLIBRARIES =#
|
||||
libircd_matrix_LTLIBRARIES += libircd_matrix.la
|
||||
|
||||
#
|
||||
# Unit list
|
||||
#
|
||||
|
||||
libircd_matrix_la_SOURCES =#
|
||||
libircd_matrix_la_SOURCES += name.cc
|
||||
libircd_matrix_la_SOURCES += id.cc
|
||||
|
|
|
@ -32,9 +32,9 @@ AM_LDFLAGS += -Wl,--no-gnu-unique
|
|||
AM_LDFLAGS += -Wl,--sort-common=descending
|
||||
endif
|
||||
|
||||
AM_CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
AM_CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
AM_LDFLAGS += $(EXTRA_LDFLAGS)
|
||||
CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
LDFLAGS += $(EXTRA_LDFLAGS)
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue