From 119d23192b25b1fc71af7d4b0dc2c118c698a0ea Mon Sep 17 00:00:00 2001 From: couriersud Date: Thu, 16 Apr 2015 23:44:30 +0200 Subject: [PATCH] Fix OPENMP linking. (nw) --- scripts/genie.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index 7d83f319a0b..e544f318075 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -746,6 +746,9 @@ if _OPTIONS["OPENMP"]=="1" then buildoptions { "-fopenmp", } + linkoptions { + "-fopenmp" + } else buildoptions { "-Wno-unknown-pragmas", @@ -753,9 +756,9 @@ else end if _OPTIONS["LDOPTS"] then - linkoptions { - _OPTIONS["LDOPTS"] - } + linkoptions { + _OPTIONS["LDOPTS"] + } end if _OPTIONS["MAP"] then