Update of /cvsroot/monetdb/clients/src/php/Cimpl
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31934/clients/src/php/Cimpl

Modified Files:
      Tag: Clients_1-20
        Makefile.ag 
Log Message:

It appears that our own careful controle of CFLAGS & X_CFLAGS for 
SWIG-generated code
is not always able to properly cope with user-chosen/-extended CFLAGS and/or 
X_CFLAGS.
Hence, for the sake of a smooth compilation also in such cases,
we return to the former situation of indifferently disabling X_CFLAGS (including
users' choices) locally for SWIG-generated code.


Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/clients/src/php/Cimpl/Makefile.ag,v
retrieving revision 1.4.4.5
retrieving revision 1.4.4.6
diff -u -d -r1.4.4.5 -r1.4.4.6
--- Makefile.ag 7 Nov 2007 08:23:01 -0000       1.4.4.5
+++ Makefile.ag 22 Nov 2007 16:44:59 -0000      1.4.4.6
@@ -28,7 +28,13 @@
 #  we use GCC_SWIG_CFLAGS and ICC_SWIG_CFLAGS, respectively,
 #  to disable only the problematic warnings/errors as locally as possbile.
 #  See buildtools/conf/MonetDB.m4 for details.
-CFLAGS = $(GCC_SWIG_CFLAGS) $(ICC_SWIG_CFLAGS) -DCOMPILE_DL_MONETDB=1 
-D_GNU_SOURCE
+#CFLAGS = $(GCC_SWIG_CFLAGS) $(ICC_SWIG_CFLAGS) -DCOMPILE_DL_MONETDB=1 
-D_GNU_SOURCE
+#
+#  However, there are situations where user-chosen CFLAGS and/or X_CFLAGS
+#  are beyond our control. Hence, for the sake of a smooth compilation, we
+#  have to take the freedom to overrule the user's deliberate choice for
+#  X_CFLAGS by locally disabling them indifferently.
+X_CFLAGS = -DCOMPILE_DL_MONETDB=1 -D_GNU_SOURCE
 
 SUBDIRS = examples 
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to