search for: cflags

Displaying 20 results from an estimated 3282 matches for "cflags".

Did you mean: flags
2014 Nov 27
3
[PATCH] configure.ac: don't try to unset -g from CFLAGS
...--- 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 "$CFLAGS" | sed 's/-O2//')...
2013 Aug 22
2
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...Arch.asan-x32 := x32 +Arch.tsan-x32 := x32 +Arch.msan-x32 := x32 +Arch.ubsan-x32 := x32 +Arch.ubsan_cxx-x32 := x32 +Arch.dfsan-x32 := x32 +Arch.lsan-x32 := x32 +endif + ifneq ($(LLVM_ANDROID_TOOLCHAIN_DIR),) Configs += asan-arm-android Arch.asan-arm-android := arm-android @@ -89,22 +116,33 @@ CFLAGS.full-i386 := $(CFLAGS) -m32 CFLAGS.full-x86_64 := $(CFLAGS) -m64 +CFLAGS.full-x32 := $(CFLAGS) -mx32 CFLAGS.profile-i386 := $(CFLAGS) -m32 CFLAGS.profile-x86_64 := $(CFLAGS) -m64 +CFLAGS.profile-x32 := $(CFLAGS) -mx32 CFLAGS.san-i386 := $(CFLAGS) -m32 $(SANITIZER_CFLAGS) -fno-rtti CFLAGS.san-x...
2004 Sep 10
1
patches for flac build
> Speaking of CFLAGS, it looks like configure.in clobbers any existing > CFLAGS in > the environment. This can be a pain when trying to compile with a > modified > CFLAGS, as the usual idiom is: > > CFLAGS=... ./configure ... > > thus propagating CFLAGS to all generated makefiles. The right...
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 need to echo anything. Thats what I did. >...
2006 Oct 17
4
[PATCH] Fix tools build on Solaris
# HG changeset patch # User john.levon@sun.com # Date 1161090606 25200 # Node ID c6bfe43048f3becda6966deceb7b70baea833b7c # Parent 03d4223c846b14fc415cfd05d970c7b4d688fddb Many of the tools use C99 features such as bool, or expect certain functions. Fix the CFLAGS to enable these on Solaris. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/config/SunOS.mk b/config/SunOS.mk --- a/config/SunOS.mk +++ b/config/SunOS.mk @@ -35,6 +35,8 @@ CFLAGS += -g CFLAGS += -g endif +TOOL_CFLAGS += -std=gnu99 -D_POSIX_C_SOURCE=200112L -D__EXTENSIO...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...:= x32 > +Arch.ubsan-x32 := x32 > +Arch.ubsan_cxx-x32 := x32 > +Arch.dfsan-x32 := x32 > +Arch.lsan-x32 := x32 > +endif > + > ifneq ($(LLVM_ANDROID_TOOLCHAIN_DIR),) > Configs += asan-arm-android > Arch.asan-arm-android := arm-android > @@ -89,22 +116,33 @@ > > CFLAGS.full-i386 := $(CFLAGS) -m32 > CFLAGS.full-x86_64 := $(CFLAGS) -m64 > +CFLAGS.full-x32 := $(CFLAGS) -mx32 > CFLAGS.profile-i386 := $(CFLAGS) -m32 > CFLAGS.profile-x86_64 := $(CFLAGS) -m64 > +CFLAGS.profile-x32 := $(CFLAGS) -mx32 > CFLAGS.san-i386 := $(CFLAGS) -m32 $(SANITIZER_C...
2007 Dec 06
1
[PATCH] Makefile: CFLAGS, LDFLAGS
Split CFLAGS into CFLAGS (user part) and AM_CFLAGS (not-so-user part; variable name taken from automake, but otherwise no relation). Also add LDFLAGS. This allows me to use `make CFLAGS="-O2 -fPIE" LDFLAGS="-pie"` without dropping the other important (AM_CFLAGS) flags. Signed-off-by: Jan En...
2011 Mar 16
3
[PATCH] tools: do not link against unused libraries
...l ELF objects. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> diff -r f35234b6636a -r 7e326d27d899 tools/blktap2/drivers/Makefile --- a/tools/blktap2/drivers/Makefile Tue Mar 15 16:33:59 2011 +0000 +++ b/tools/blktap2/drivers/Makefile Wed Mar 16 10:38:52 2011 +0000 @@ -23,11 +23,7 @@ CFLAGS += -fPIC CFLAGS += -fPIC endif -LIBS += -lrt -lz - -LBLIBS_img := $(LDLIBS_libxenctrl) $(CRYPT_LIB) -lpthread -lz -lm - -LIBS += -L$(LIBVHDDIR) -lvhd +VHDLIBS := -L$(LIBVHDDIR) -lvhd REMUS-OBJS := block-remus.o REMUS-OBJS += hashtable.o @@ -88,26 +84,26 @@ al...
2012 Mar 27
1
[PATCH] tools/configure: add options to pass EXTRA_CLFAGS
# HG changeset patch # User Olaf Hering <olaf@aepfle.de> # Date 1332851995 -7200 # Node ID 9c6337771520b390ed624fa6b6b2f2edc8042701 # Parent d9e6e8632bb6b9a2144e7e148bc7ea53ea4933fd tools/configure: add options to pass EXTRA_CLFAGS Currently qemu-xen will be compiled with CFLAGS only if CFLAGS was already in the environment during make invocation. If CFLAGS is in environment then make will append all of the various flags specified in xen Makefiles to this environment variable, which is then used in qemu configure. Since qemu-xen is not ready for compiler flags like "-...
2014 Jul 26
4
1.21 vs 1.3 encoding speed
Martijn van Beurden wrote: > op 25-07-14 19:32, Scott Brown schreef: > > ./configure -enable-static -disable-shared CFLAGS=" -isysroot > > /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6" > > make > > Well, the use of CFLAGS 'disables' the -O3 and unroll-loops > optimisation. I'm quite sure that's the culprit. Add -O3 to your > CFLAGS and it should be fixed...
2009 May 28
1
[PATCH] blktap2: fix makefile of vhd for parallel make
...might not be created before link resulting in link error. This patch guarantees it. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> diff --git a/tools/blktap2/vhd/Makefile b/tools/blktap2/vhd/Makefile --- a/tools/blktap2/vhd/Makefile +++ b/tools/blktap2/vhd/Makefile @@ -12,6 +12,9 @@ CFLAGS += -Wno-unused CFLAGS += -I../include CFLAGS += -D_GNU_SOURCE +SUBDIRS-y := +SUBDIRS-y += $(LIBDIR) + ifeq ($(CONFIG_X86_64),y) CFLAGS += -fPIC endif @@ -29,27 +32,22 @@ DEPS = .*.d all: build -build: libvhd $(IBIN) +build: $(IBI...
2004 Jun 10
4
patches for xiph build setup
Hi, I offered some time ago to do some build cleanup. Today I did so and here's my slew of patches. Basically, they - touch ogg, vorbis, vorbis-tools and theora - fix a bunch of autotools issues - uniformize the use of them across the four - fix compile/link flags - use pkgconfig if it's available to detect flags - for vorbis-tools, generate and use config.h - add -uninstalled .pc stuff
2004 Jun 10
4
patches for xiph build setup
Hi, I offered some time ago to do some build cleanup. Today I did so and here's my slew of patches. Basically, they - touch ogg, vorbis, vorbis-tools and theora - fix a bunch of autotools issues - uniformize the use of them across the four - fix compile/link flags - use pkgconfig if it's available to detect flags - for vorbis-tools, generate and use config.h - add -uninstalled .pc stuff
2017 Aug 10
3
[PATCH] ruby: fix order of CFLAGS
Shuffle the order of the various CFLAGS used when building the Ruby extension: first the flags from manywarnings (gnulib), then libguestfs own CFLAGS, and then -DGUESTFS_PRIVATE=1 (so it is not overridden). This matches also what happens in automake parts, and makes it possible to override any flags from manywarnings also in the Ruby ex...
2014 Jul 25
5
1.21 vs 1.3 encoding speed
a. Intel 2.8 Ghz Core I7 (dual core, I7-4558U) in late 2013 Macbook Pro with Retina Display b. I compiled it the same way I compiled 1.2.1: ./configure -enable-static -disable-shared CFLAGS=" -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6" make Am i doing something wrong? Thanks, Scott On Fri, Jul 25, 2014 at 12:54 PM, lvqcl <lvqcl.mail at gmail.com> wrote: > Scott Brown wrote: > > > I'm on a Mac and I'm noticing that encod...
2018 Aug 08
3
Re: LIBVIRT-4.6.0 can't work with QEMU 3.0.0
2004 Sep 10
2
patches for flac build
...olicy compliance issue. I'm not still not sure how to fix this with nasm either. The code is declared in the .text segment, and emitted to the .text segment in the .o file, but upon linking ends up in .rel.text. I think I will put this off until after 1.0. One thing I did noticed is that the CFLAGS are not specifying -fPIC right now. Matt, are you planning to build a C-only version of the shared library? In this case it would make sense to add -fPIC to the options. Josh __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http...
2006 Mar 23
3
Intercepts in linear models.
A colleague asked me if there is a way to specify with a ***variable*** (say ``cflag'') whether there is an intercept in a linear model. She had in mind something like lm(y ~ x - cflag) where cflag could be 0 or 1; if it's 0 an intercept should be fitted, if it's 1 then no intercept. This doesn't work ``of course''. The cflag just gets treated as another predictor
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 ===================================================================...
2017 Feb 04
3
Minor CFLAGS-related cleanups
Hi Erik, similar to what I did for libsndfile, this is to simplify the handling of adding -D_FORTIFY_SOURCE=2. Regards David