diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-sound/chuck/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'media-sound/chuck/files')
-rw-r--r-- | media-sound/chuck/files/chuck-1.4.1.1-makefile.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/chuck/files/chuck-1.4.1.1-makefile.patch b/media-sound/chuck/files/chuck-1.4.1.1-makefile.patch new file mode 100644 index 000000000000..98147cf9a81f --- /dev/null +++ b/media-sound/chuck/files/chuck-1.4.1.1-makefile.patch @@ -0,0 +1,50 @@ +diff --git a/src/core/makefile.x/makefile.alsa b/src/core/makefile.x/makefile.alsa +index 5694257..577dd91 100644 +--- a/src/core/makefile.x/makefile.alsa ++++ b/src/core/makefile.x/makefile.alsa +@@ -1,4 +1,4 @@ + +-CFLAGS+= -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -O3 -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ ++CFLAGS+= -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ -fPIC + LDFLAGS+= -lasound -lstdc++ -ldl -lm -lsndfile -lpthread + +diff --git a/src/core/makefile.x/makefile.jack b/src/core/makefile.x/makefile.jack +index 86b2511..442708b 100644 +--- a/src/core/makefile.x/makefile.jack ++++ b/src/core/makefile.x/makefile.jack +@@ -1,4 +1,4 @@ + +-CFLAGS+= -D__UNIX_JACK__ -D__PLATFORM_LINUX__ -O3 -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ ++CFLAGS+= -D__UNIX_JACK__ -D__PLATFORM_LINUX__ -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ -fPIC + LDFLAGS+= -lasound -ljack -lstdc++ -ldl -lm -lsndfile -lpthread + +diff --git a/src/makefile b/src/makefile +index f52f0c2..310991a 100644 +--- a/src/makefile ++++ b/src/makefile +@@ -76,11 +76,11 @@ CK_VERSION=1.4.1.1 + + + ########################### COMPILATION TOOLS ################################## +-LEX=flex +-YACC=bison +-CC=gcc +-CXX=g++ +-LD=g++ ++LEX?=flex ++YACC?=bison ++CC?=gcc ++CXX?=g++ ++LD?=g++ + + + ############################# COMPILER FLAGS ################################### +@@ -92,8 +92,6 @@ endif + + ifneq ($(CHUCK_DEBUG),) + CFLAGS+= -g +-else +-CFLAGS+= -O3 + endif + + ifneq ($(USE_64_BIT_SAMPLE),) |