Skip to content

Commit

Permalink
Adjust CFLAGS to fix compilation on musl
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcrees committed Jan 8, 2018
1 parent 0911570 commit bb9b759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CFLAGS ?= -g -O2
CFLAGS += -Wall -Wextra -pedantic

# Settings for glibc >= 2.19 - may need to be adjusted for other systems
CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=500
CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700

ifeq (${curl},1)
CFLAGS += -DHAVE_LIBCURL
Expand Down

0 comments on commit bb9b759

Please sign in to comment.