hyperion-rt / hyperion

Hyperion Radiative Transfer Code
http://www.hyperion-rt.org
BSD 2-Clause "Simplified" License
52 stars 26 forks source link

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future] #125

Closed astrofrog closed 9 years ago

astrofrog commented 9 years ago

In some cases the compilation can error with:

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]

We should add a known issue to the docs and point out it can be solved by doing:

export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments