search for: gcc_major_version

Displaying 7 results from an estimated 7 matches for "gcc_major_version".

2005 Sep 05
1
[PATCH] fix gcc 3.4 warnings
On Tue, Sep 06, 2005 at 08:54:18AM +1000, Jean-Marc Valin wrote: > I usually compile with several warning flags, but I prefer not to impose > any (especially since not everyone uses gcc!). FWIW, configure is already checking to see whether the compiler is gcc or not. There's an if clause in the configure scripts for ogg, vorbis, theora, and other of our packages that uses this to add
2013 Nov 20
4
[PATCH 1/2] Revert "configure.ac : If gcc is version 4.2, use -fgnu89-inline."
...XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2]) @@ -409,18 +409,14 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR" CFLAGS="$CFLAGS -fvisibility=hidden" CXXFLAGS="$CXXFLAGS -fvisibility=hidden" - fi - - if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then - XIPH_ADD_CFLAGS([-fgnu89-inline]) - fi + fi if test "x$asm_optimisation" = "xyes" ; then XIPH_ADD_CFLAGS([-msse2]) - fi - fi +fi + XIPH_ADD_CFLAGS([-Wextra]) if test x$enable_stack_smash_protection = "xyes...
2014 May 25
2
extend visibility attributes usage to osx builds
...rite-strings -Woverloaded-virtual -Wmissing-declarations - XIPH_ADD_CFLAGS([-Wdeclaration-after-statement]) XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2]) @@ -409,6 +408,12 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then CXXFLAGS="$CXXFLAGS -fvisibility=hidden" fi + if test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = macho; then + CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR" + CFLAGS="$CFLAGS -fvisibility=hidden" + CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + fi + if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION"...
2014 May 25
2
XIPH_C_COMPILER_IS_CLANG preventing many flags
XIPH_C_COMPILER_IS_CLANG in configury (commit a6a4b6f) is blocking many flags including the visibility attributes: I guess this needs relaxing, possibly a lot. What incompatibility led to this commit? -- O.S.
2012 Dec 03
0
[PATCH 3/5] Hide symbols with gcc.
...4 --- a/configure.ac +++ b/configure.ac @@ -360,9 +360,15 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then if test x$enable_gcc_werror = "xyes" ; then CFLAGS="-Wall -Wextra -Werror $CFLAGS" CXXFLAGS="-Wall -Wextra -Werror $CXXFLAGS" - fi fi + if test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = elf; then + CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR" + CFLAGS="$CFLAGS -fvisibility=hidden" + CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + fi +fi + #@@@ AM_CONDITIONAL(FLaC__HAS_AS__TEMPORARILY_DISABLED...
2014 May 04
0
Building FLAC with LTO
...2.351463800 +0000 @@ -386,6 +386,9 @@ CFLAGS="$CFLAGS -fvisibility=hidden" CXXFLAGS="$CXXFLAGS -fvisibility=hidden" fi + if test "$OBJ_FORMAT" = win32; then + CPPFLAGS="$CPPFLAGS -DFLAC_API_EXPORTS=1 -DFLACPP_API_EXPORTS=1" + fi if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then XIPH_ADD_CFLAGS([-fgnu89-inline]) -------------- next part -------------- --- flac-1.3.0/src/flac/Makefile.am.orig 2013-05-26 09:30:33.924201900 +0000 +++ flac-1.3.0/src/flac/Makefile.am 2014-05-03 09:44:59.262301200 +0000 @@ -44,6 +44,10 @@ uti...
2012 Dec 03
4
[PATCH 1/5] Remove old GNU-stack sections from nasm files.
They are not needed since the section is defined in nasm.h. --- src/libFLAC/ia32/bitreader_asm.nasm | 4 ---- src/libFLAC/ia32/cpu_asm.nasm | 4 ---- src/libFLAC/ia32/fixed_asm.nasm | 4 ---- src/libFLAC/ia32/lpc_asm.nasm | 4 ---- src/libFLAC/ia32/stream_encoder_asm.nasm | 4 ---- 5 files changed, 20 deletions(-) diff --git