0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-23 22:13:55 +01:00

Ensure EXTRA_*FLAGS is properly appended after other build flags.

This commit is contained in:
Jason Volk 2023-01-16 12:22:24 -08:00
parent 336f740036
commit 6bbde81b44
5 changed files with 21 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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 =#

View file

@ -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

View file

@ -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)
###############################################################################
#