Skip to content

Commit

Permalink
Disable debian hardening.
Browse files Browse the repository at this point in the history
Enabling hardening gives the following LDFLAGS

-Wl,-Bsymbolic-functions -Wl,-z,relro

which break the config engine.
  • Loading branch information
Marco van Wieringen committed May 5, 2013
1 parent c6f11ff commit e904851
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/rules
Expand Up @@ -16,6 +16,9 @@ export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS=-v

# This disables the hardening flags which lead to LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro which breaks the config engine.
export DEB_BUILD_OPTIONS=nohardening

export daemon_user=bareos
export daemon_group=bareos
export director_daemon_user=${daemon_user}
Expand Down

0 comments on commit e904851

Please sign in to comment.