Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #19648: Optimize ldap binaries with -O2 #2506

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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