mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
PR: 245540 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D31918
21 lines
663 B
Text
21 lines
663 B
Text
--- Makefile.orig 2021-04-16 08:52:40 UTC
|
|
+++ Makefile
|
|
@@ -29,7 +29,8 @@
|
|
|
|
CC = gcc
|
|
COMPRESS = gzip -n
|
|
-CFLAGS += -O2 -g -W -Wall -Werror -pthread $(CPPFLAGS)
|
|
+CFLAGS ?= -O2 -g -W -Wall -Werror
|
|
+CFLAGS += -pthread $(CPPFLAGS)
|
|
PKG_CONFIG = pkg-config
|
|
STRIP = -s
|
|
INSTALL = install
|
|
@@ -101,7 +102,7 @@ $(OBJDIR)%.o: %.c Makefile airscan.h
|
|
|
|
.PHONY: all clean install man
|
|
|
|
-all: tags $(BACKEND) $(DISCOVER) test test-decode test-multipart test-zeroconf test-uri
|
|
+all: $(BACKEND) $(DISCOVER) test test-decode test-multipart test-zeroconf test-uri
|
|
|
|
tags: $(SRC) airscan.h test.c test-decode.c test-multipart.c test-zeroconf.c test-uri.c
|
|
-ctags -R .
|