Skip to content

Commit

Permalink
debian: work around compiler issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Saviq committed Dec 2, 2024
1 parent 1d2dbb6 commit 51b722b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ include debian/opts.mk

export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

# Work around compiler issues
export DEB_CFLAGS_MAINT_STRIP = "-g -O3 -O2"
export DEB_CFLAGS_MAINT_PREPEND = "-g -O2"
export DEB_CXXFLAGS_MAINT_STRIP = "-g -O3 -O2"
export DEB_CXXFLAGS_MAINT_PREPEND = "-g -O2"

# Needed for ccache to work in case the build directory changed
# (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810871)
export CCACHE_BASEDIR = $(shell pwd)
Expand Down

0 comments on commit 51b722b

Please sign in to comment.