rlottie: Added no-exception flag to build
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 29 May 2019 23:23:46 +0000 (08:23 +0900)
committerHermet Park <hermetpark@gmail.com>
Wed, 19 Jun 2019 04:32:55 +0000 (13:32 +0900)
CMakeLists.txt
meson.build

index f7511926083f91ef4e50872f1ebe5ccf55e25e59..946becc888808b8d6c3f45bac86c0e2810ba7aea 100644 (file)
@@ -25,6 +25,7 @@ target_compile_options(rlottie
                     PRIVATE
                         -std=c++14
                         -O2
+                        -fno-exceptions
                         -Wall
                         -Werror
                         -Wextra
index 85635b43cbf0379c98e586cfa3d0307dcc95fb96..83bcb050e3610eb0c879f3765cd978ad25de7629 100644 (file)
@@ -6,7 +6,7 @@ rlottie_lib_version = '0.0.1'
 
 add_global_arguments('-DDEMO_DIR="@0@/example/resource/"'.format(meson.current_source_dir()), language : 'cpp')
 
-compiler_flags = ['-std=c++14', '-O2', '-Wall', '-Werror', '-Wextra',
+compiler_flags = ['-std=c++14', '-O2', '-Wall', '-Werror', '-Wextra', '-fno-exceptions',
                   '-Wnon-virtual-dtor', '-Woverloaded-virtual', '-Wno-unused-parameter', '-fvisibility=hidden']
 
 if get_option('asan') == true