From Hartmut Seichter, "attached a revised CMakeLists.txt file for Android that avoids the problems with a ARM gcc bug that appears in the NDK. It only overrides the optimization level for one file. As it resides only in the cfg parser this should not have side effects on performance."
This commit is contained in:
@@ -16,6 +16,20 @@ SET(TARGET_H
|
||||
VisualChooser.h
|
||||
)
|
||||
|
||||
#
|
||||
# Android NDK r6, r6b and r7 ship with a broken gcc (armeabi)
|
||||
# see also
|
||||
# - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40836
|
||||
# - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37987
|
||||
#
|
||||
if (ANDROID)
|
||||
set_source_files_properties(ConfigParser.cpp
|
||||
PROPERTY
|
||||
COMPILE_FLAGS
|
||||
"-O0")
|
||||
endif()
|
||||
#
|
||||
|
||||
SET(TARGET_ADDED_LIBRARIES osgViewer)
|
||||
|
||||
#### end var setup ###
|
||||
|
||||
Reference in New Issue
Block a user