[Lunar-commits] <moonbase-other> imageworks-Field3D: fix --as-needed linking error and rm ignored OPTS

v4hn me at v4hn.de
Sat Mar 30 01:24:54 CET 2013


commit 15f31f514cceca338d4e45fe954d9fc9d81c7234
Author: v4hn <me at v4hn.de>
Date: Fri, 29 Mar 2013 17:24:54 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/15f31f514cceca338d4e45fe954d9fc9d81c7234

imageworks-Field3D: fix --as-needed linking error and rm ignored OPTS
---
  libs/imageworks-Field3D/BUILD | +4/-4     
  1 file changed, 4 insertions(+), 4 deletions(-)

--- a/libs/imageworks-Field3D/BUILD
+++ b/libs/imageworks-Field3D/BUILD
@@ -1,6 +1,6 @@
+OPTS+=" -DCMAKE_C_FLAGS=-fPIC -DCMAKE_CXX_FLAGS=-fPIC" &&
 
-  OPTS+=" -DINSTALL_DOCS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_CXX_FLAGS=-fPIC" &&
+sedit "s:#include <OpenEXR/ImathRoots.h>::" export/StdMathLib.h &&
+sedit "s:Boost COMPONENTS:Boost COMPONENTS system:" CMakeLists.txt &&
 
-  sedit "s:#include <OpenEXR/ImathRoots.h>::" export/StdMathLib.h &&
-
-  default_cmake_build
+default_cmake_build




More information about the Lunar-commits mailing list