From: Jaroslav Kysela Date: Wed, 4 Oct 2006 08:39:55 +0000 (+0200) Subject: alsa-lib: test dir: make check: static building doesn't work on PIC architectures X-Git-Tag: v1.0.14rc1~32 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=bc9b4553b491270192d1fbff04d247fb0faf2c22;p=alsa-lib.git alsa-lib: test dir: make check: static building doesn't work on PIC architectures Some architectures, such as AMD64, IA64 and Alpha cannot mix PIC and non-PIC objects when creating a PIC output. Hardened compilers (which uses SSP and PIE) creates PIC executables, passing -static in CFLAGS for tests in make check in alsa-lib makes their linking to fail. See bug#1541 --- diff --git a/test/Makefile.am b/test/Makefile.am index ba3082df..5a72f7be 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -16,6 +16,6 @@ queue_timer_LDADD=../src/libasound.la code_CFLAGS=-Wall -pipe -g -O2 INCLUDES=-I$(top_srcdir)/include -AM_CFLAGS=-static -Wall -pipe -g +AM_CFLAGS=-Wall -pipe -g EXTRA_DIST=seq-decoder.c seq-sender.c midifile.h midifile.c midifile.3