Skip to content

Commit 4f916db

Browse files
acabarbayeDanielZlotin
authored andcommitted
Changed compilation flags to enable exception support and RTTI (#63)
1 parent 8214dc1 commit 4f916db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/compile/common.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ COMMON_CFLAGS=" \
132132
-ffunction-sections \
133133
-fomit-frame-pointer \
134134
-fno-strict-aliasing \
135-
-fno-exceptions \
135+
-fexceptions \
136+
-frtti \
136137
-funwind-tables \
137138
-DPIC \
138139
-fPIC \

scripts/compile/jsc.sh

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ CMAKE_CXX_FLAGS=" \
1414
$SWITCH_JSC_CFLAGS_COMPAT \
1515
$JSC_CFLAGS \
1616
$PLATFORM_CFLAGS \
17-
-fno-rtti \
1817
-I$TARGETDIR/icu/source/i18n \
1918
-I$TOOLCHAIN_DIR/sysroot/usr/include \
2019
"

0 commit comments

Comments
 (0)