similar to: Minor CFLAGS-related cleanups

Displaying 20 results from an estimated 200 matches similar to: "Minor CFLAGS-related cleanups"

2017 Jan 15
4
Updated CFLAGS patches and make test compilation conditional
Hi Erik, I've found a middleground for the problem of setting default CFLAGS. I've gone back to setting them if {C,CXX,CPP,LD}FLAGS are unset at the onset of the configure script (i.e., the user hasn't specified anything) and then proceed to set them to the defaults as before. This has been suggested before: https://lists.gnu.org/archive/html/autoconf/2006-04/msg00022.html In
2017 Feb 04
0
[PATCH] Clean up CFLAGS detecting code and add AX macro for _FORTIFY_SOURCE
--- configure.ac | 23 ++------------------ m4/ax_add_fortify_source.m4 | 53 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 21 deletions(-) create mode 100644 m4/ax_add_fortify_source.m4 diff --git a/configure.ac b/configure.ac index 8576cae5..c5b63370 100644 --- a/configure.ac +++ b/configure.ac @@ -393,9 +393,7 @@ fi dnl If debugging is
2017 Jan 13
9
Upstreaming Gentoo patches
Dear FLAC devs, I would like to get some of our patches merged into master. Most of them deal with adhering to GNU conventions, respectively not overriding flags/variables that are up to the user to set. For instance, honoring $(htmldir) is important, as we have installation paths for the documentation that differ from what is currently coded in the various Makefile.am's. Regards David
2017 Jan 15
0
[PATCH 1/2] Do not override CFLAGS, as CFLAGS is a user flag.
* Furthermore, use NDEBUG globally to detect the presence of building with more debug output information. AX_CHECK_ENABLE_DEBUG is easier to use, and nowadays Gnome has also switched to it from its own custom solution. --- configure.ac | 52 ++++++++++++------ include/FLAC/assert.h | 2 +- m4/ax_check_enable_debug.m4 | 124
2002 Sep 11
2
rename not working while all other things work?
Hi folks, I've got a serious problem with samba since I upgrade an stone-age caldera-box with a 2.0.x-samba to redhat-7.2 with 2.2.1a-samba. I can create, delete directories and files without any problems. But renaming them (i.e. by creating a new folder which has new folder as default) does not work. I always get an error, that the file does not exist. I am trying from a win2k-professional
2014 Mar 02
2
Re: [PATCH 3/8] builder: add functions to read XDG_CONFIG_DIRS and XDG_CONFIG_PATH
On Tue, Feb 25, 2014 at 05:29:08PM +0100, Pino Toscano wrote: > +let xdg_config_dirs ~prog = > + let dirs = > + try Sys.getenv "XDG_CONFIG_DIRS" > + with Not_found -> "/etc/xdg" in This seems to put the virt-builder config files into /etc/xdg/virt-builder which is kind of annoying. Can we move them to a regular default location (/etc/virt-builder)? I
2019 Apr 14
1
Opus cmake build
Hi Marcus, Thanks for the fixes. I did some more cmake build testing and encountered a few issues: The option -DFORTIFY_SOURCE=2 should be -D_FORTIFY_SOURCE=2, as the macro has a leading underscore. In the autotools build it defines this if it is not already defined (m4/ax_add_fortify_source.m4). When custom modes are not enabled, the cmake build is nevertheless installing the include file
2011 Dec 16
1
mgcv 1.7-12 crashes R
Dear community, I encountered a very disturbing phenomenon today: When I try to fit any gam() with mgcv R aborts. I could not find any post regarding this in google, which mades in even more strange. I am using the latest Ubuntu, latest R and latest mgcv everything up to date. The crash occured too with the last mgcv 1.7-11. This is the output from the R shell: <pre> R version 2.14.0
2019 Apr 11
2
Opus cmake build
On Wed, Apr 10, 2019 at 5:30 PM Marcus Asteborg <xnorpx at outlook.com> wrote: > Hi Mark, > > Thanks for the feedback. > > By default CMake is building the static library in debug, to get other > things one has to explicit turn it on. > > Hi, By default CMake uses the "empty" build, which is used in combination with the environment variables CFLAGS and
2013 Sep 04
3
[PATCH 0/2] Clean up compilation from git a little bit
SSIA Martin Kletzander (2): Don't redefine _FORTIFY_SOURCE Get rid of gnulib error bootstrap | 2 +- configure.ac | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) -- 1.8.3.2
2019 Aug 27
3
[nbdkit PATCH 0/2] RFC: tighter filter versions
This is not intended for v1.14. In fact, we may decide that the second patch is too gross, although the first one still seems like a useful improvement in isolation. I will also point out that all our filters are in-tree, and set the user-controlled field .version to the current release string. We could replace the second patch with a simpler one that just checks ._api_version as an int (as
2008 Feb 21
0
m4 scripts ignore user-supplied CFLAGS and LDFLAGS
Hi all, There is a discussion going on one russian forum about NUT cross-compiling and packaging for some custom embedded firmware. And one of the authors complained about NUT script for checking ssl library ignoring supplied CFLAGS and LDFLAGS with the desired include and library paths. I checked several scripts in m4 folder and all of them do something like this:
2008 Feb 23
0
Fwd: m4 scripts ignore user-supplied CFLAGS and LDFLAGS
Hi Alexander, no, I am not responsible for this! It's true that I created the scripts in m4/, but I only copied what was previously in configure.in. Try: svn up -r2 configure.in and you'll see that the code in question has been there since the beginning of SVN time (line 175). I cannot say why it was done that way. Probably because nobody needed a more general mechanism. Using
2013 Jan 02
1
[PATCH] ruby: add -DGUESTFS_PRIVATE_FUNCTIONS=1 to CFLAGS
Signed-off-by: Olaf Hering <olaf at aepfle.de> --- This, and the CFLAGS change it depends on should be backported to 1.20.x ruby/ext/guestfs/extconf.rb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/ext/guestfs/extconf.rb.in b/ruby/ext/guestfs/extconf.rb.in index 15259ea..808ff9e 100644 --- a/ruby/ext/guestfs/extconf.rb.in +++ b/ruby/ext/guestfs/extconf.rb.in
2016 May 31
0
[PATCH 2/2] List intrinsics flags being tested after existing cflags, so they override other options.
--- m4/opus-intrinsics.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/opus-intrinsics.m4 b/m4/opus-intrinsics.m4 index b93ddd3..a262ca1 100644 --- a/m4/opus-intrinsics.m4 +++ b/m4/opus-intrinsics.m4 @@ -15,7 +15,7 @@ AC_DEFUN([OPUS_CHECK_INTRINSICS], $4=0 AC_MSG_RESULT([no]) AC_MSG_CHECKING([if compiler supports $1 intrinsics with $2]) -
2013 Jun 03
1
[LLVMdev] cflags in test-suite
How can you specify difference cflags (cxxflags) for clang and gcc? Tia. Reed
2016 Oct 31
0
[test-suite] Fix for CFLAGS="-ffp-contract=on"
Renato, I see that you were not on CC to the following email thread. I would appreciate if you could provide some guidance on how to fix the test-suite. On Mon, Oct 24, 2016 at 3:08 PM, Sebastian Pop <sebpop at gmail.com> wrote: > On Thu, Oct 20, 2016 at 5:59 PM, Renato Golin <renato.golin at linaro.org> wrote: >> So, let's separate the FP_CONTRACT from the FAST_MATH
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
2008 Jun 26
1
Compile warning using additonal CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W'
Hi, Ive just downloaded and build the portable openssh-5.0p1 source on my Linux box, and when I add the CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W' I get a lot of warnings of the following type: - -Wuninitialized is not supported without -O - cast discards qualifiers from pointer target type - warning: `foo' is not at beginning of declaration - cast discards qualifiers from
2011 Apr 25
1
Detail level of backtrace depending on the used CFLAGS
Hello, I've just noticed that I'm getting different backtraces depending on if I use the -O2 or -O0 cflags during compilation. Here is a backtrace with -O2: http://pastebin.com/bGXCJBND And here is the one with -O0: http://pastebin.com/axPZQUaD Both were produced by the same Wine version (wine-1.3.18-170-gfa2e4bb). I'm using Fedora 14 32 bits and I always use the following CFLAGS