Skip to content

Commit

Permalink
Fixes #19648: Optimize ldap binaries with -O2
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset committed Aug 2, 2021
1 parent 2a42f9f commit 6da3626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rudder-webapp/SOURCES/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ build: $(BUILD_LDAP) rudder-sources build-rudder-lang rudder-doc jetty rudder.wa
# for centos7
DEBUGOPT:=$(shell make -v --debug=n >/dev/null2>&1 && echo --debug=n)
build-ldap: openldap-source
cd openldap-source && CFLAGS=-Wno-format-extra-args ./configure --prefix=/opt/rudder --libdir=/opt/rudder/lib/ldap --enable-dynamic --enable-debug --enable-modules --enable-monitor=mod --enable-dynlist=mod --enable-mdb=yes --enable-hdb=no --enable-bdb=no
cd openldap-source && CFLAGS="-Wno-format-extra-args -O2" ./configure --prefix=/opt/rudder --libdir=/opt/rudder/lib/ldap --enable-dynamic --enable-debug --enable-modules --enable-monitor=mod --enable-dynlist=mod --enable-mdb=yes --enable-hdb=no --enable-bdb=no
cd openldap-source && make $(DEBUGOPT) depend
cd openldap-source && make $(DEBUGOPT)
touch $@
Expand Down

0 comments on commit 6da3626

Please sign in to comment.