mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Signed-off-by: Brahmajit Das <listout@listout.xyz> Part-of: https://codeberg.org/gentoo/gentoo/pulls/799 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
19 lines
355 B
Diff
19 lines
355 B
Diff
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -97,10 +97,14 @@ SYSCONFIG_FILE = @SYSCONFIG_FILE@
|
|
endif
|
|
|
|
# Compiler flags
|
|
+ifndef CPPFLAGS
|
|
+CPPFLAGS = @CPPFLAGS@
|
|
+endif
|
|
+CPPFLAGS += @DEFS@
|
|
ifndef CFLAGS
|
|
CFLAGS = @CFLAGS@
|
|
endif
|
|
-CFLAGS += -Wall -Wstrict-prototypes -pipe -O2 -fno-tree-slp-vectorize
|
|
+CFLAGS += $(CPPFLAGS)
|
|
|
|
ifndef DFLAGS
|
|
DFLAGS = @DFLAGS@
|