Skip to content

Commit

Permalink
prepare MacOS M1
Browse files Browse the repository at this point in the history
  • Loading branch information
philippe44 committed Nov 1, 2022
1 parent cdf138f commit 32c98e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ endif

ifeq ($(findstring gcc,$(CC)),gcc)
CFLAGS += -Wno-stringop-truncation -Wno-stringop-overflow -Wno-format-truncation
LDFLAGS += -s
else
CFLAGS += -fno-temp-file
endif
Expand All @@ -18,7 +19,7 @@ BUILDDIR = build/$(HOST)/$(PLATFORM)

DEFINES = -DNDEBUG
CFLAGS += -Wall -fPIC -O2 $(DEFINES) -ggdb -fdata-sections -ffunction-sections
LDFLAGS += -s -lpthread -ldl -lm -L.
LDFLAGS += -lpthread -ldl -lm -L.

vpath %.c $(SRC)

Expand Down
Binary file modified bin/climdnssvc-macos-arm64e
Binary file not shown.

0 comments on commit 32c98e1

Please sign in to comment.