mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-29 20:38:07 -07:00
Signed-off-by: James Beddek <telans@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/22928 Signed-off-by: Sam James <sam@gentoo.org>
23 lines
527 B
Diff
23 lines
527 B
Diff
Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer
|
|
|
|
--- a/Makefile 1999-07-15 19:40:12.000000000 +0200
|
|
+++ b/Makefile 2009-09-04 15:27:15.000000000 +0200
|
|
@@ -8,14 +8,13 @@
|
|
|
|
HDRS = defs.h mstring.h
|
|
|
|
-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
|
|
+CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes
|
|
|
|
-LDFLAGS = -static
|
|
+LDFLAGS +=
|
|
|
|
LIBS =
|
|
|
|
-CC = gcc
|
|
-LINKER = gcc
|
|
+LINKER = $(CC)
|
|
# LINKER = cl
|
|
# CC = cl
|
|
|