summaryrefslogtreecommitdiff
path: root/scripts/makefile.clang
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makefile.clang')
-rw-r--r--scripts/makefile.clang6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makefile.clang b/scripts/makefile.clang
index 583f6ce17..fe0544a2b 100644
--- a/scripts/makefile.clang
+++ b/scripts/makefile.clang
@@ -1,6 +1,6 @@
# makefile for libpng using clang (generic, static library)
+# Copyright (C) 2000, 2014, 2019-2022 Cosmin Truta
# Copyright (C) 2008, 2014 Glenn Randers-Pehrson
-# Copyright (C) 2000, 2014, 2019 Cosmin Truta
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
#
# This code is released under the libpng license.
@@ -23,8 +23,8 @@ WARNMORE = -Wwrite-strings -Wpointer-arith -Wshadow \
-Wmissing-declarations -Wtraditional -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes # -Wconversion
CPPFLAGS = -I$(ZLIBINC) # -DPNG_DEBUG=5
-CFLAGS = -W -Wall -O2 # $(WARNMORE) -g
-LDFLAGS = -L$(ZLIBLIB)
+CFLAGS = -O2 -Wall -Wextra -Wundef # $(WARNMORE) -g
+LDFLAGS = -L$(ZLIBLIB) # -g
LIBS = -lz -lm
# File extensions