diff options
author | Yuri Konotopov <ykonotopov@gnome.org> | 2019-08-18 18:06:08 +0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-08-26 17:10:24 -0400 |
commit | 43356200e1d0ac87f6100e71d6621c7acf75d7ef (patch) | |
tree | b83650c2afbae0f6826823c8f5815d3d159e0bd8 /eclass | |
parent | libretro-core.eclass: make $LIBRETRO_CORE_LIB_FILE variable local (diff) | |
download | gentoo-43356200e1d0ac87f6100e71d6621c7acf75d7ef.tar.gz gentoo-43356200e1d0ac87f6100e71d6621c7acf75d7ef.tar.bz2 gentoo-43356200e1d0ac87f6100e71d6621c7acf75d7ef.zip |
libretro-core.eclass: replace CXXFLAGS in src_prepare stage
Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/libretro-core.eclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/libretro-core.eclass b/eclass/libretro-core.eclass index c8c1933764fa..1cee263f99ec 100644 --- 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' \ |