mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
Was failing with C2x because gnu89 wasn't being passed only there. This is executed at build time, so also an occasion to use CBUILD. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
15 lines
487 B
Diff
15 lines
487 B
Diff
Gentoo specific to go with `tc-export_build_env BUILD_CC` + respect flags.
|
|
--- a/src/Makefile.am
|
|
+++ b/src/Makefile.am
|
|
@@ -96,3 +96,3 @@
|
|
makeopts: makeopts.c
|
|
- $(CC) -o makeopts makeopts.c
|
|
+ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(BUILD_LDFLAGS) -o makeopts makeopts.c
|
|
|
|
--- a/src/Makefile.in
|
|
+++ b/src/Makefile.in
|
|
@@ -643,3 +643,3 @@
|
|
makeopts: makeopts.c
|
|
- $(CC) -o makeopts makeopts.c
|
|
+ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(BUILD_LDFLAGS) -o makeopts makeopts.c
|
|
|