Displaying 20 results from an estimated 600 matches similar to: "extend visibility attributes usage to osx builds"
2014 May 25
2
replace -Wextra with -W
The attached small configury patch replaces -Wextra with -W in the
main CFLAGS and CXXFLAGS assignments. A few lines after them, -Wextra
is conditionally added already with XIPH_ADD_CFLAGS([-Wextra]), so
this allows build using older compilers.
Regards.
--
O.S.
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index 6d0fa00..cc5a247 100644
--- a/configure.ac
+++
2013 Nov 20
4
[PATCH 1/2] Revert "configure.ac : If gcc is version 4.2, use -fgnu89-inline."
This reverts commit 2860f1780ca92c779ee0a2c545ae1b9c4818dc53.
Conflicts:
configure.ac
Do not use -fgnu89-inline as it can emit duplicate symbols for
inline functions that are declared in multiple object files
being linked together.
For example on clang 5.0 targetting iOS
(clang advertises itself as gcc 4.2, the last GPL version of gcc)
---
configure.ac | 12 ++++--------
1 file changed, 4
2016 Jan 24
1
Wextra in configury
flac configury does a XIPH_ADD_CFLAGS([-Wextra]) around line 426,
however it unconditionally adds -Wextra some lines before that too.
The attached patch removes that unconditional addition of -Wextra
which (i) removes duplicate addition, and (ii) allows older gcc
versions to compile the tree peacefully. Please consider applying.
--
O.S.
-------------- next part --------------
diff --git
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.
2014 May 04
0
Building FLAC with LTO
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tried to do this, gcc complained a lot about undefined references.
After a bit of mucking with the code, i came up with a few patches. This
might be a good conversation starter.
The build that i've got out of this does pass the testsuite.
To enable LTO you just need to apply these (for non-W32 builds you probably
only need one of the patches)
2012 Dec 03
0
[PATCH 3/5] Hide symbols with gcc.
With gcc >= 4 and ELF, set default visibility to hidden and make visible
only the symbols with FLAC_API or FLACPP_API.
A convenience libFLAC-static.la is created for test_libFLAC as it
depends on the hidden symbols.
---
configure.ac | 8 +++++++-
include/FLAC++/export.h | 13 +++++++++----
include/FLAC/export.h | 13 +++++++++----
src/libFLAC/Makefile.am | 10
2015 Apr 10
3
[PATCH] configure: only use -mstackrealign for mingw32
Tristan Matthews wrote:
> ---
> configure.ac | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index eb9b0cc..e7d68c3 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -399,9 +399,11 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
>
> if test "x$asm_optimisation$sse_os" =
2015 Apr 10
2
[PATCH] configure: only use -mstackrealign for mingw32
---
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb9b0cc..4347c07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,9 +399,10 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
- XIPH_ADD_CFLAGS([-mstackrealign])
+
2015 Apr 11
3
[PATCH] configure: only use -mstackrealign on mingw32/os2
And only for i686.
---
configure.ac | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb9b0cc..8dd5b0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,11 +399,16 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2])
-
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
2014 May 25
2
make dllimport/dllexport attributes work with mingw (and others)
Erik de Castro Lopo wrote:
> Ozkan Sezer wrote:
>
>> My apologies, obviously sent an old testing patch. Correct one is
>> attached (declspec2.diff). Compilation tested using MinGW (gcc-3.4.5,
>> binutils-2.20), and MinGW-w64 (gcc-4.5.4, binutils-2.21.90.)
>
> lvqcl,
>
> Can you please validate this new patch?
It works, but only if i call ./configure without
2017 Jan 22
7
os/2 support using Watcom
The attached set of patches adds support for OS/2 using Watcom compiler
(tested with Open Watcom 1.9). My only interest was building a working
dll (the last patch in the set adds a makefile for it), therefore I did
not touch other places: If there is interest, I can do so.
Regards.
--
O.S.
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2013 May 01
2
[PATCH] stream.c needs sys/types.h
For definition of off_t type, stream.c needs including sys/types.h. I
hit this requirement at least once when compiling against Mac OSX 10.4
SDK. Trivial patch inlined below.
--- opusfile/src/stream.c~
+++ opusfile/src/stream.c
@@ -14,6 +14,7 @@
last mod: $Id: vorbisfile.c 17573 2010-10-27 14:53:59Z xiphmont $
********************************************************************/
+#include
2013 May 08
1
[PATCH] opusfile configury fixes.
[this time compeled the mail].
The autogen.sh of opusfile doesn't work for me:
Updating build configuration files for opusfile, please wait....
configure.ac:8: installing `./install-sh'
configure.ac:8: installing `./missing'
Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
Makefile.am:10: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
2015 Apr 10
2
[PATCH] configure: only use -mstackrealign for mingw32
On Fri, Apr 10, 2015 at 1:40 PM, lvqcl <lvqcl.mail at gmail.com> wrote:
> Tristan Matthews wrote:
>
> > if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
> > XIPH_ADD_CFLAGS([-msse2])
> > - XIPH_ADD_CFLAGS([-mstackrealign])
> > + if test "$host_os" = "mingw32" ; then
>
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
2015 Apr 10
0
[PATCH] configure: only use -mstackrealign for mingw32
Tristan Matthews wrote:
> if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
> XIPH_ADD_CFLAGS([-msse2])
> - XIPH_ADD_CFLAGS([-mstackrealign])
> + if test "$host_os" = "mingw32" ; then
> + XIPH_ADD_CFLAGS([-mstackrealign])
> + fi
> fi
But sse_os==no doesn't prevent libFLAC from using SSE intrinsics.
So I think
2018 Mar 20
1
several tremor patches
Attached several patches that I have been using to the tremor tree.
Please review and apply as you see fit.
Regards.
--
O.S.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-os.h-change-elif-_WIN32-to-elif-defined-_WIN32.patch
Type: text/x-patch
Size: 728 bytes
Desc: not available
URL:
2014 May 25
1
make dllimport/dllexport attributes work with mingw (and others)
Ozkan Sezer wrote:
> flac.exe built with mingw with or without the dllimport/dllexport patch
> always requires libFLAC-8.dll (because flac/Makefile.am has libFLAC.la
> in flac_LDADD and not libFLAC-static.la), and the patch doesn't make it
> any more or any less dependent on any 'foreign' dlls: the patch doesn't
> change the existent situation in that regard. If
2017 Jan 14
2
unsigned int and FLAC__uint32 are used interchangeably
On 1/14/17, Erik de Castro Lopo <mle+la at mega-nerd.com> wrote:
> Ozkan Sezer wrote:
>
>> unsigned int and FLAC__uint32 are used interchangeably, leading to
>> warnings with platforms (e.g. djgpp) where int32_t is long:
>
> Is `sizeof int == 4` though?
Yes, obviously it is
> I couldn't image FLAC working correctly
> if it wasn't.
>
> Erik