Skip to content

Commit

Permalink
make: remove obsolete/redundant parameters (#3304)
Browse files Browse the repository at this point in the history
* makefile: remove -w from build flags (implied by -s)

* remove reference to obsolete build param
  • Loading branch information
mmetc authored Oct 29, 2024
1 parent 96d4da7 commit 97c1f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ ifeq ($(call bool,$(DEBUG)),1)
STRIP_SYMBOLS :=
DISABLE_OPTIMIZATION := -gcflags "-N -l"
else
STRIP_SYMBOLS := -s -w
STRIP_SYMBOLS := -s
DISABLE_OPTIMIZATION :=
endif

Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ override_dh_auto_build:
override_dh_auto_install:

# just use the prebuilt binaries, otherwise:
# make build BUILD_RE_WASM=0 BUILD_STATIC=1
# make build BUILD_STATIC=1

mkdir -p debian/crowdsec/usr/bin
mkdir -p debian/crowdsec/etc/crowdsec
Expand Down

0 comments on commit 97c1f60

Please sign in to comment.