From 08bdf5f5d0c64384b2be16bd8ac68244675388d5 Mon Sep 17 00:00:00 2001 From: hasufell Date: Sun, 6 Oct 2013 21:13:51 +0200 Subject: [PATCH] respect CFLAGS --- Makefile.am | 2 +- configure.ac | 2 +- rw/Makefile.am | 2 +- rw/configure.ac | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4cf1753..414597f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,7 +26,7 @@ EXTERN_VIEWER = display ## -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ ## -DFUNCPROTO=15 -DNARROWPROTO -ARCH_DEFINES = -g -O2 -fno-strict-aliasing -fPIC +ARCH_DEFINES = -fno-strict-aliasing -fPIC ## ## Specific xpaint options diff --git a/configure.ac b/configure.ac index e058529..3979075 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,7 @@ AC_TYPE_UINT16_T AC_TYPE_UINT32_T AC_TYPE_UINT64_T -CFLAGS="-I/usr/include -I/usr/include/X11 -I/usr/include/X11/Xaw3dxft" +CFLAGS="$CFLAGS -I/usr/include -I/usr/include/X11 -I/usr/include/X11/Xaw3dxft" LIBS="$LIBS -lm" echo "VERSION = $VERSION" > .version diff --git a/rw/Makefile.am b/rw/Makefile.am index d91d5d5..2f50253 100644 --- a/rw/Makefile.am +++ b/rw/Makefile.am @@ -10,7 +10,7 @@ SHAREDIR = $(prefix)/share/xpaint ## -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ ## -DFUNCPROTO=15 -DNARROWPROTO -ARCH_DEFINES = -g -O2 -fno-strict-aliasing -fPIC +ARCH_DEFINES = -fno-strict-aliasing -fPIC ## ## Specific xpaint options diff --git a/rw/configure.ac b/rw/configure.ac index fb4f3d4..d9c7601 100644 --- a/rw/configure.ac +++ b/rw/configure.ac @@ -29,7 +29,7 @@ AC_TYPE_UINT16_T AC_TYPE_UINT32_T AC_TYPE_UINT64_T -CFLAGS="-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/include -I/usr/include/X11 -I/usr/include/X11/Xaw3dxft" +CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/include -I/usr/include/X11 -I/usr/include/X11/Xaw3dxft" LIBS="$LIBS -lm" dnl check X11 -- 1.8.3.2