]> git.alsa-project.org Git - alsa-lib.git/commitdiff
alsa-lib: test dir: make check: static building doesn't work on PIC architectures
authorJaroslav Kysela <perex@perex.cz>
Wed, 4 Oct 2006 08:39:55 +0000 (10:39 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 4 Oct 2006 08:39:55 +0000 (10:39 +0200)
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

test/Makefile.am

index ba3082df2c34510a0b09541f348771083ba418d6..5a72f7be52d45dbaa21b538dc34c8a4b82a0d6cd 100644 (file)
@@ -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