Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/FreeRDP-Ubuntu-PPA.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules5
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 $@