fnet.c

Simple C networking library
git clone git://git.finwo.net/lib/fnet.c
Log | Files | Refs | README

commit 85f9fe63649085fa8478c0ad471e54a804e0e7e1
parent 12abe44a065b2a8ae12a5fab725e7b36db64f1a0
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Mon, 23 Oct 2023 21:47:17 +0200

Move '-s' compilation flag to linking only

Diffstat:
MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -7,7 +7,7 @@ SRC+=test.c SRC+=$(wildcard src/*.c) SRC+=$(wildcard src/*/*.c) -override CFLAGS?=-Wall -s -O2 +override CFLAGS?=-Wall -O2 INCLUDES:= INCLUDES+=-I src @@ -53,7 +53,7 @@ OBJ:=$(OBJ:.cc=.o) override CFLAGS+=$(INCLUDES) -LDFLAGS?= +LDFLAGS?=-s LDFLAGS+=$(CFLAGS) default: $(BIN)