File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -282,18 +282,21 @@ if (${CORE} STREQUAL POWER8)
282
282
endif ()
283
283
endif ()
284
284
285
+ # With -mcpu=970 added it compiles, but library is broken, at least on macOS. If someone
286
+ # tests on *BSD or Linux and adds this flag, please make sure it is not used for macOS case.
285
287
if (${CORE} STREQUAL PPC970 )
286
288
if (NOT DYNAMIC_ARCH )
287
- set (CCOMMON_OPT "${CCOMMON_OPT} -mcpu=970 - mtune=970 -maltivec -fno-fast-math" )
289
+ set (CCOMMON_OPT "${CCOMMON_OPT} -mtune=970 -maltivec -fno-fast-math" )
288
290
endif ()
289
291
if (APPLE )
290
292
set (CCOMMON_OPT "${CCOMMON_OPT} -force_cpusubtype_ALL" )
291
293
endif ()
292
294
endif ()
293
295
296
+ # -mcpu=G4 seems to work fine, but perhaps avoid it for the sake of consistency?
294
297
if (${CORE} STREQUAL PPCG4 )
295
298
if (NOT DYNAMIC_ARCH )
296
- set (CCOMMON_OPT "${CCOMMON_OPT} -mcpu=G4 - mtune=G4 -maltivec -fno-fast-math" )
299
+ set (CCOMMON_OPT "${CCOMMON_OPT} -mtune=G4 -maltivec -fno-fast-math" )
297
300
endif ()
298
301
if (APPLE )
299
302
set (CCOMMON_OPT "${CCOMMON_OPT} -force_cpusubtype_ALL" )
You can’t perform that action at this time.
0 commit comments