We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3253dfd commit 74d5381Copy full SHA for 74d5381
tools/cedev-config/Makefile
@@ -17,8 +17,8 @@
17
include $(CURDIR)/../../src/common.mk
18
19
CC = gcc
20
-CFLAGS = -Wall -Wextra -Wshadow -static -O3 -std=c99 -Isrc -DNDEBUG -DCEDEV_VERSION="\"$(CEDEV_VERSION)\"" -flto
21
-LDFLAGS = -flto -static
+CFLAGS = -Wall -Wextra -Wshadow -O3 -std=c99 -Isrc -DNDEBUG -DCEDEV_VERSION="\"$(CEDEV_VERSION)\"" -flto
+LDFLAGS = -flto
22
LIBRARIES :=
23
24
ifeq ($(OS),Windows_NT)
@@ -32,7 +32,8 @@ else
32
LDFLAGS += -mmacosx-version-min=10.13
33
else
34
STRIP = strip --strip-all "$1"
35
- CFLAGS += -D_XOPEN_SOURCE=500
+ CFLAGS += -D_XOPEN_SOURCE=500 -static
36
+ LDFLAGS += -static
37
LIBRARIES += dl
38
endif
39
0 commit comments