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:
authorGiovanni Panozzo <giovanni@panozzo.it>2020-07-29 01:07:18 +0300
committerGiovanni Panozzo <giovanni@panozzo.it>2020-07-29 01:07:18 +0300
commit2b44d5229454496ffb1846b8701043d258229187 (patch)
tree9148eba1431fc5054a5851c0d161cb4331682a30
parent97f0237179a74a2bafdaa7da1275277e489018ae (diff)
Use -O1 on armhf instead of -O2
-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 $@