mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-20 22:18:34 +02:00
Re-add bug link and remove context (context is not super useful for this patch and it sometimes allows to rebase it less often, albeit in this case it added a trivial -g on the CFLAGS line). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
28 lines
601 B
Diff
28 lines
601 B
Diff
https://bugs.gentoo.org/722600
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -4,2 +3,0 @@
|
|
-CC = gcc
|
|
-LD = gcc
|
|
@@ -8,2 +5,0 @@
|
|
-CFLAGS = -O2 -g
|
|
-LDFLAGS = -lc
|
|
@@ -32 +28 @@
|
|
-all: killxa xa uncpk
|
|
+all: xa uncpk
|
|
@@ -38 +34 @@
|
|
- (cd src && LD=${LD} CC="${CC} ${CFLAGS}" ${MAKE})
|
|
+ (cd src && ${MAKE})
|
|
@@ -44 +40 @@
|
|
- (cd misc && CC="${CC} ${CFLAGS}" ${MAKE})
|
|
+ (cd misc && ${MAKE})
|
|
--- a/misc/Makefile
|
|
+++ b/misc/Makefile
|
|
@@ -5 +5 @@
|
|
-CFLAGS = -O2 -g
|
|
+CFLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
|
|
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -12 +12 @@
|
|
- ${LD} -o ../xa ${OBJ} ${LDFLAGS}
|
|
+ ${CC} ${LDFLAGS} -o ../xa ${OBJ}
|