Skip to content

Commit

Permalink
Merge pull request #396 from MrAnno/image-o3
Browse files Browse the repository at this point in the history
docker: build image with -O3 optimization
  • Loading branch information
alltilla authored Nov 28, 2024
2 parents e654f38 + 41a1306 commit 49bf68b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/apkbuild/axoflow/axosyslog/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ for _i in $_modules; do
done

build() {
CFLAGS="$CFLAGS -flto=auto" \
CFLAGS="$CFLAGS -flto=auto -O3" \
./configure \
--prefix=/usr \
--sysconfdir=/etc/syslog-ng \
Expand Down
2 changes: 1 addition & 1 deletion docker/apkbuild/axoflow/axosyslog/APKBUILD-debug.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
bpftool
@@ -85,6 +85,7 @@
build() {
CFLAGS="$CFLAGS -flto=auto" \
CFLAGS="$CFLAGS -flto=auto -O3" \
./configure \
+ --enable-debug \
--prefix=/usr \
Expand Down

0 comments on commit 49bf68b

Please sign in to comment.