Disable LTO
authorTimo Röhling <roehling@debian.org>
Thu, 10 Feb 2022 23:47:48 +0000 (00:47 +0100)
committerTimo Röhling <roehling@debian.org>
Thu, 10 Feb 2022 23:47:48 +0000 (00:47 +0100)
There seems to be an issue with link time optimization on Ubuntu

Gbp-Dch: full

debian/rules

index bd1b492b16ed591aa66e383afc0049b00ef377c9..56dafc16e15fef366651079813349f45f988ab8a 100755 (executable)
@@ -25,7 +25,6 @@ endif
 override_dh_auto_configure:
        dh_auto_configure -- \
                -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
-               -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
                -DFILAMENT_SKIP_SAMPLES=ON \
                -DFILAMENT_ENABLE_JAVA=OFF \
                -DUSE_STATIC_LIBCXX=OFF \