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 2bf04d1 commit 60b76c7Copy full SHA for 60b76c7
Makefile
@@ -1,7 +1,5 @@
1
ifeq ($(OS),Windows_NT)
2
$(error Windows is not supported)
3
-else
4
- detected_OS := $(shell uname -s)
5
endif
6
7
VERSION := 0.25.1
@@ -29,10 +27,7 @@ OBJ := $(SRC:.c=.o)
29
27
ARFLAGS := rcs
30
28
CFLAGS ?= -O3 -Wall -Wextra -Wshadow -Wpedantic -Werror=incompatible-pointer-types
31
override CFLAGS += -std=c11 -fPIC -fvisibility=hidden
32
-ifneq ($(detected_OS),NetBSD)
33
-override CFLAGS += -D_POSIX_C_SOURCE=200112L
34
-endif
35
-override CFLAGS += -D_DEFAULT_SOURCE
+override CFLAGS += -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE
36
override CFLAGS += -Ilib/src -Ilib/src/wasm -Ilib/include
37
38
# ABI versioning
0 commit comments