mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Include @DEFS@ into our compiler call
On most systems, this should only result in some useless defines being added to the compiler's command line: -DPACKAGE_NAME=\"znc\" -DPACKAGE_TARNAME=\"znc\" -DPACKAGE_VERSION=\"0.097\" -DPACKAGE_STRING=\"znc\ 0.097\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" However, on some weird arches like e.g. x86, this will make AC_SYS_LARGEFILE actually work, because that macro adds "-D_FILE_OFFSET_BITS=64" to @DEPS@. This was found by SilverLeo because modpython didn't compile for him, thanks. :) (python has "#define _FILE_OFFSET_BITS 64" in pyconfig.h) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2242 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ sbindir := @sbindir@
|
||||
localstatedir := @localstatedir@
|
||||
CXX := @CXX@
|
||||
# CXXFLAGS are for the main binary, so don't use them here, use MODFLAGS instead
|
||||
MODFLAGS := @CPPFLAGS@ @MODFLAGS@ -I$(srcdir)/..
|
||||
MODFLAGS := @DEFS@ @CPPFLAGS@ @MODFLAGS@ -I$(srcdir)/..
|
||||
MODLINK := @MODLINK@
|
||||
LDFLAGS := @LDFLAGS@
|
||||
# LIBS are not and should not be used in here.
|
||||
|
||||
Reference in New Issue
Block a user