Skip to content

Commit

Permalink
Change debian rules to fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
clementgallet committed Apr 10, 2019
1 parent 9170d91 commit 54098e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export DH_VERBOSE = 1


# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=-all
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
Expand All @@ -14,9 +14,9 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

#disable building debugging symbols
export DEB_CFLAGS_MAINT_STRIP = -g
export DEB_CXXFLAGS_MAINT_STRIP = -g
export DEB_LDFLAGS_MAINT_STRIP = -g
export DEB_CFLAGS_MAINT_STRIP = -g
export DEB_CXXFLAGS_MAINT_STRIP = -g
export DEB_LDFLAGS_MAINT_STRIP = -g


%:
Expand All @@ -27,4 +27,4 @@ export DEB_LDFLAGS_MAINT_STRIP = -g

# Use target Release instead of None
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DINTERIM_VERSION=Off

0 comments on commit 54098e9

Please sign in to comment.