diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/luminance-hdr/luminance-hdr.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/luminance-hdr/luminance-hdr.SlackBuild b/graphics/luminance-hdr/luminance-hdr.SlackBuild index 3bf2255295..027d2b07ea 100644 --- a/graphics/luminance-hdr/luminance-hdr.SlackBuild +++ b/graphics/luminance-hdr/luminance-hdr.SlackBuild @@ -25,6 +25,7 @@ # 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0, # by upgrading to v2.6.0. Also actually strip the binaries, and # get rid of INSTALL from the doc dir. +# 20220320 bkw: fix build on 32-bit. cd $(dirname $0) ; CWD=$(pwd) @@ -83,11 +84,14 @@ find -L . \ # (fails to link libmvec: "undefined reference to `_ZGVbN4vv_powf'" etc) export CXX=clang++ +# 20220320 bkw: for some reason, the -latomic is needed on 32-bit x86. +# it does no harm on x86_64. mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_LINK_FLAGS="-latomic" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. make |