PLUGIN_DEFINITIONS (-DNO_ISNAN=1) TEST_BIG_ENDIAN(IS_BIGENDER) IF (NOT IS_BIGENDER) # fdlibm.h does not handle x86_64, so set it here for all platforms PLUGIN_DEFINITIONS (-D__LITTLE_ENDIAN=1) ENDIF() # The fdlibm library must be compiled with no gcc optimization. Add -O0 to # the CFLAGS string to override the optimization setting. SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0")