projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
491cc13
)
libretro-core.eclass: replace CXXFLAGS in src_prepare stage
author
Yuri Konotopov
<ykonotopov@gnome.org>
Sun, 18 Aug 2019 14:06:08 +0000
(18:06 +0400)
committer
Craig Andrews
<candrews@gentoo.org>
Mon, 26 Aug 2019 21:10:24 +0000
(17:10 -0400)
Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
eclass/libretro-core.eclass
patch
|
blob
|
history
diff --git
a/eclass/libretro-core.eclass
b/eclass/libretro-core.eclass
index c8c1933764fa05ea543877a364fb837c1fae1ae4..1cee263f99ec94bdeea926c2d471a6358534a448 100644
(file)
--- a/
eclass/libretro-core.eclass
+++ b/
eclass/libretro-core.eclass
@@
-128,6
+128,7
@@
libretro-core_src_prepare() {
-e 's/\r$//g' \
-e "/flags.*=/s:-O[[:digit:]]:${CFLAGS}:g" \
-e "/CFLAGS.*=/s:-O[[:digit:]]:${CFLAGS}:g" \
+ -e "/CXXFLAGS.*=/s:-O[[:digit:]]:${CXXFLAGS}:g" \
-e "/.*,--version-script=.*/s:$: ${LDFLAGS} ${LIBS}:g" \
-e "/\$(CC)/s:\(\$(SHARED)\):\1 ${LDFLAGS} ${LIBS}:" \
-e 's:\(\$(CC)\):\1 \$(CFLAGS):g' \