search for: cppflags

Displaying 20 results from an estimated 1075 matches for "cppflags".

2002 Nov 12
2
2.5.5 build ignores $CPPFLAGS
(I'm not subscribed; Mail-Followup-To set.) Contrary to the claim in the output of ./configure --help, $CPPFLAGS is in fact not influential. --- rsync-2.5.5/Makefile.in~ 2002-03-24 23:36:34.000000000 -0500 +++ rsync-2.5.5/Makefile.in 2002-11-12 17:52:04.000000000 -0500 @@ -9,6 +9,7 @@ LIBS=@LIBS@ CC=@CC@ CFLAGS=@CFLAGS@ +CPPFLAGS=@CPPFLAGS@ LDFLAGS=@LDFLAGS@ INSTALLCMD=@INSTALL@ @@ -45,7 +46,7...
2006 May 17
0
[tftp-hpa] [patch] building on hpux and add CPPFLAGS
Hi, We just build tftp-hpa on out supported platforms, and I have a very small patch. On hpux, we have a sysexits.h that does not define EX_CONFIG. Also, we like to use CPPFLAGS to point to our include dirs, tftp-hpa doesn't use CPPFLAGS. This can be a little confusing, as the configure checks use CPPFLAGS, but the build itself does not. Peter -------------- next part -------------- Index: config.h =================================================================== -...
2005 Jan 01
1
[LLVMdev] configure: error: invalid variable name: CPPFLAGS
Hi, I get this error: --------------- configure: configuring in projects/Stacker configure: running /bin/sh '/C/projects/src/llvm-2/llvm/projects/Stacker/configure' --prefix=/C/LLVM/tools/ '--prefix=/C/LLVM/tools/' 'CPPFLAGS=-D__MINGW -DLLVM_ON_WIN32=1' --cache-file=/dev/null --srcdir=/C/projects/src/llvm-2/llvm/projects/Stacker configure: error: invalid variable name: CPPFLAGS configure: error: /bin/sh '/C/projects/src/llvm-2/llvm/projects/Stacker/configure' failed for projects/Stacker ---------------...
2005 Oct 05
1
Problems with autoconf example from r-ext.
...nvironment variable. AC_ARG_WITH([sbmlode-include], AC_HELP_STRING([--with-sbmlode-include=INCLUDE_PATH], [the location of SBMLODE header files]), [sbmlode_include_path=$withval]) if test [ -n "$sbmlode_include_path" ] ; then AC_SUBST([CPPFLAGS],["-I${sbmlode_include_path} ${CPPFLAGS}"]) else if test [ -n "${SBMLODE_INCLUDE}" ] ; then AC_SUBST([CPPFLAGS],["-I${SBMLODE_INCLUDE} ${CPPFLAGS}"]) fi fi dnl ditto for a library path AC_ARG_WITH([sbmlode-lib],AC_HELP_STRING([--with-sbmlode-lib=LIB_PATH],[t...
2011 Jan 16
2
[LLVMdev] About test suits Cont1
*[qali at qali llvm-2.8-rev]$ find . -exec grep -n "LLVMCC_EMITIR_FLAG" ./ {} \;* ./projects/test-suite/Makefile.tests:47: -$(LCC) $(CPPFLAGS) $(CFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG) ./projects/test-suite/Makefile.tests:51: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG) ./projects/test-suite/Makefile.tests:55: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(LO...
2000 Dec 07
1
[PATCH] Separate CFLAGS and CPPFLAGS
If you want to override CFLAGS on the make line (eg. "make CFLAGS='-O3'"), you lose because you end up stomping preprocessor flags as well. Preprocessor should be in CPPFLAGS. The following patch takes care of this. -Fred Index: Makefile.in =================================================================== RCS file: /cvs/Darwin/Services/OpenSSH/openssh/Makefile.in,v retrieving revision 1.1.1.4 retrieving revision 1.8 diff -u -d -b -w -r1.1.1.4 -r1.8 --- Makefile.in...
2014 Nov 27
3
[PATCH] configure.ac: don't try to unset -g from CFLAGS
...arias <gustavo at zacarias.com.ar> --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 3d647ed..94d7c9e 100644 --- a/configure.ac +++ b/configure.ac @@ -348,11 +348,10 @@ fi if test "x$debug" = xtrue; then CPPFLAGS="-DDEBUG $CPPFLAGS" - CFLAGS=$(echo "$CFLAGS" | sed 's/-g//') - CFLAGS="-g $CFLAGS" + CFLAGS=$(echo "-g $CFLAGS") else CPPFLAGS="-DNDEBUG $CPPFLAGS" - CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//') + CFLAGS=$(echo &quot...
2002 Nov 22
2
Add -D_XOPEN_SOURCE_EXTENDED definition for HP/UX 11.00 platform
Hi, I suggest to add the following definition to configure and its template configure.in to allow samba-2.2.x to be compiled on HP/UX 11.00 with some lesser warnings. Without this definition you'll get warnings on all socket operation because the socket operations are UNIX98 specific and HP/UX 11.00 will support this when _XOPEN_SOURCE_EXTENDED is defined. -- Ren? Nieuwenhuizen Afdeling
2001 Mar 27
0
Kerberos4 / AFS library issues
...] ) - - -# Check whether user wants Kerberos support -KRB4_MSG="no" -AC_ARG_WITH(kerberos4, - [ --with-kerberos4=PATH Enable Kerberos 4 support], - [ - if test "x$withval" != "xno" ; then - - if test "x$withval" != "xyes" ; then - CPPFLAGS="$CPPFLAGS -I${withval}/include" - LDFLAGS="$LDFLAGS -L${withval}/lib" - if test ! -z "$need_dash_r" ; then - LDFLAGS="$LDFLAGS -R${withval}/lib" - fi - if test ! -z "$blibpath" ; then - blibpath="$blibpath:${withval}/lib&qu...
2011 Jan 17
0
[LLVMdev] About test suits Cont1
On Jan 15, 2011, at 8:06 PM, Qingan Li wrote: > [qali at qali llvm-2.8-rev]$ find . -exec grep -n "LLVMCC_EMITIR_FLAG" ./ {} \; > ./projects/test-suite/Makefile.tests:47: -$(LCC) $(CPPFLAGS) $(CFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG) > ./projects/test-suite/Makefile.tests:51: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG) > ./projects/test-suite/Makefile.tests:55: -$(LCXX) $(CPPFLAGS) $(CXXF...
2004 Sep 10
3
OS X compile errors
...ile_decoder.lo ../../include/FLAC/format.h:144: syntax error, missing `;' after `const' ../../include/FLAC/format.h:147: syntax error, missing `;' after `const' ../../include/FLAC/format.h:152: syntax error, missing `;' after `const' It looks like this time, it is due to my CPPFLAGS setting: CPPFLAGS = -I/sw/include DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) CFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I/sw/include -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ COMPILE =...
2009 May 08
5
[LLVMdev] Automake and llvm-config
Hello, I'm using autotools to build my little lang. So I want to have something like this in my Makefile.am: mylang_SOURCES = mylang.cpp mylang_LDADD = mylib.a `llvm-config --cppflags --ldflags --libs core jit native ipo` But automake complains: tools/Makefile.am:8: linker flags such as `--cppflags' belong in `mylang_LDFLAGS I tried different workarounds but nothing helps :( The only way I found is to copy llvm-config's output directly to Makefile.am which is non-porta...
2011 Apr 03
6
[Bug 713] New: CPPFLAGS are mishandled which breaks non-shared targets
http://bugzilla.netfilter.org/show_bug.cgi?id=713 Summary: CPPFLAGS are mishandled which breaks non-shared targets Product: iptables Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: unknown AssignedTo: netfilter-buglog...
2008 May 16
0
[LLVMdev] Size and performance figures for LLVM?
...uses llvm > (and > the llvm makefiles), I am unable to add extra include paths to the > build. It seems that they get into the makefiles ok, but not through > to > the compiler itself. > What variable are you setting? Here's what the clang project uses in its Makefiles CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include I *think* that specifying CPPFLAGS on the command line (like this $ make CPPFLAGS=-I/my/own/include/dir will replace the CPPFLAGS' initial value in the Makefiles. -bw
2012 Nov 06
3
[LLVMdev] Error while linking LLVM files
Hi! I'm trying to learn LLVM and I want to compile the Kaleidoscope compiler. according to: http://llvm.org/docs/tutorial/LangImpl3.html I'm compiling it with: clang++ -g -O3 test.cpp `llvm-config --cppflags --ldflags --libs core` -o toy and it indeed works. The problem is that when using eclipse it forces me to divide the compilation into two steps: g++ -O0 -g3 -Wall -c -fmessage-length=0 `llvm-config --cppflags --ldflags --libs core` -MMD -MP -MF"src/lunac.d" -MT"src/lunac.d" -o...
2012 Dec 07
2
[LLVMdev] dragonegg now requires clang
...=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cxxflags | sed -e 's/-Wcovered-switch-default//') ifeq ($(shell uname),Darwin) LOADABLE_MODULE_OPTIONS=-bundle -undefined dynamic_lookup @@ -76,7 +76,7 @@ ALL_OBJECTS=$(PLUGIN_OBJECTS) $(TARGET_OBJECT) $(TARGET_UTIL_OBJECTS) -CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags) \ +CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags | sed -e 's/-Wcovered-switch-default//') \ -fno-rtti \ -MD -MP \ -DIN_GCC -DLLVM_VERSION=\"$(LLVM_VERSION)\" \ so that FSF gcc 4.7.2 can be use...
2008 May 14
2
[LLVMdev] Size and performance figures for LLVM?
Bill Wendling wrote: > On Tue, May 13, 2008 at 2:24 AM, Joachim Durchholz <jo at durchholz.org> wrote: > >> Am Dienstag, den 13.05.2008, 00:42 -0700 schrieb Bill Wendling: >> >>> Sorry to step into this in the middle of a thread, but what exactly is >>> LLVM's autoconf doing that "autoconf shouldn't do if properly set up"?
2017 Jul 18
1
Re: [PATCH 01/27] build: Make OCaml compiler required for all builds.
On Friday, 14 July 2017 15:39:09 CEST Richard W.M. Jones wrote: > +dnl Check for <caml/unixsupport.h> header. > +old_CPPFLAGS="$CPPFLAGS" > +CPPFLAGS="$CPPFLAGS -I`$OCAMLC -where`" > +AC_CHECK_HEADERS([caml/unixsupport.h],[],[],[#include <caml/mlvalues.h>]) > +CPPFLAGS="$old_CPPFLAGS" The minimum version of OCaml is 3.11, and it seems to have this header already; since at leas...
2014 Nov 30
2
[PATCH] configure.ac: don't try to unset -g from CFLAGS
Jan Stary wrote: > > if test "x$debug" = xtrue; then > > CPPFLAGS="-DDEBUG $CPPFLAGS" > > - CFLAGS=$(echo "$CFLAGS" | sed 's/-g//') > > - CFLAGS="-g $CFLAGS" > > + CFLAGS=$(echo "-g $CFLAGS") > > Just zap the sed line, and leave > > CFLAGS="-g $CFLAGS" > > there; no...
2001 Mar 08
1
-I order
When I built openssh 2.5.1p2 on AIX it included /usr/local/include for me. That's in configure: case "$host" in *-*-aix*) AFS_LIBS="-lld" CPPFLAGS="$CPPFLAGS -I/usr/local/include" [...] Then when including "config.h" in openbsd-compat/openbsd-compat.h that found some old /usr/local/include/config.h I had instead of the config.h that it meant to use. I suggest using another order for those -I arguments.