mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Reduce CFLAGS abuse a little for mingw targets.
This fixes missing debug info (useful for fixing linker errors, if nothing else).
This commit is contained in:
parent
dffe1598b8
commit
c6f9d8b64c
5 changed files with 7 additions and 5 deletions
|
@ -1,8 +1,9 @@
|
|||
endian=""
|
||||
FNM_FLAGS=""
|
||||
case "$host_os" in
|
||||
mingw32*)
|
||||
mingw=yes
|
||||
CFLAGS="$CFLAGS -I\$(top_srcdir)/include/win32"
|
||||
FNM_FLAGS="-I\$(top_srcdir)/include/win32"
|
||||
if test "x$host" != "x$build"; then
|
||||
case "$build_os" in
|
||||
cygwin*)
|
||||
|
@ -24,3 +25,4 @@ case "$host_os" in
|
|||
fi
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(FNM_FLAGS)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
AUTOMAKE_OPTIONS= foreign
|
||||
|
||||
AM_CFLAGS= @PREFER_PIC@
|
||||
INCLUDES= -I$(top_srcdir)/include
|
||||
INCLUDES= -I$(top_srcdir)/include $(FNM_FLAGS)
|
||||
plugin_ldflags= @plugin_ldflags@ -avoid-version -module -rpath $(plugindir)
|
||||
plugin_libadd= @plugin_libadd@
|
||||
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
AUTOMAKE_OPTIONS= foreign
|
||||
AM_CFLAGS= @PREFER_PIC@
|
||||
INCLUDES= -I$(top_srcdir)/include
|
||||
INCLUDES= -I$(top_srcdir)/include $(FNM_FLAGS)
|
||||
|
||||
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
||||
-rpath $(libdir) -no-undefined
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
AUTOMAKE_OPTIONS= foreign
|
||||
|
||||
AM_CFLAGS= @PREFER_PIC@
|
||||
INCLUDES= -I$(top_srcdir)/include
|
||||
INCLUDES= -I$(top_srcdir)/include $(FNM_FLAGS)
|
||||
|
||||
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
||||
-rpath $(libdir) -no-undefined
|
||||
|
|
|
@ -4,7 +4,7 @@ SUBDIRS= . test
|
|||
|
||||
AM_CFLAGS= @PREFER_PIC@
|
||||
CCASFLAGS+= @PREFER_PIC@
|
||||
INCLUDES= -I$(top_srcdir)/include $(Z_CFLAGS)
|
||||
INCLUDES= -I$(top_srcdir)/include $(Z_CFLAGS) $(FNM_FLAGS)
|
||||
|
||||
lib_LTLIBRARIES= libQFutil.la
|
||||
|
||||
|
|
Loading…
Reference in a new issue