diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 18a1c0d..857b92d 100755 --- a/debian/rules +++ b/debian/rules @@ -62,6 +62,11 @@ DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_INSTALL_INCLUDEDIR=include/$(shell dpkg-archit # Add FFmpeg and GSM support to Ubuntu DEB_CMAKE_EXTRA_FLAGS += -DWITH_FFMPEG=ON -DWITH_GSM=ON +# gcc on ubuntu 18.04 armhf is bugged when using -O2. Replace with -O1 +ifeq (,$(filter armhf,$(DEB_HOST_ARCH))) +DEB_CMAKE_EXTRA_FLAGS += -DCMAKE_C_FLAGS="-O1 -g" +endif + %: dh $@ |