summaryrefslogtreecommitdiff
path: root/media-sound/ttaenc/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-sound/ttaenc/files
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'media-sound/ttaenc/files')
-rw-r--r--media-sound/ttaenc/files/ttaenc-3.4.1-fix-build-system.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-sound/ttaenc/files/ttaenc-3.4.1-fix-build-system.patch b/media-sound/ttaenc/files/ttaenc-3.4.1-fix-build-system.patch
new file mode 100644
index 000000000000..794316d24899
--- /dev/null
+++ b/media-sound/ttaenc/files/ttaenc-3.4.1-fix-build-system.patch
@@ -0,0 +1,21 @@
+--- a/Makefile
++++ b/Makefile
+@@ -2,16 +2,12 @@
+ # $Id: Makefile,v 1.4 2007/04/04 00:00:00 root Exp $
+ #
+
+-CFLAGS = -Wall -O3 -fomit-frame-pointer -funroll-loops \
+- -fforce-addr -falign-functions=4 -msse
++CFLAGS += -Wall
+ TTAENC = ttaenc
+ INSDIR = /usr/bin
+
+ ttaenc: $(patsubst %.c, %.o, $(wildcard *.c))
+- gcc $^ -o $@ $(CFLAGS)
+-
+-%.o: %.c
+- gcc -c $(CFLAGS) $<
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
+
+ install:
+ [ -d "$(INSDIR)" ] || mkdir $(INSDIR)