aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-24 02:47:11 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-24 02:49:11 +0100
commitb3ef22ac2ae126951c5b74003c7b17189c0ecbbb (patch)
tree7f4ee19ad49b16273a23f2fc7da960c0cef35521 /Makefile
parent4501c66ebde5c4fc86eda193fe204d5b35e85652 (diff)
downloadslcl-b3ef22ac2ae126951c5b74003c7b17189c0ecbbb.tar.gz
Define _POSIX_C_SOURCE
This allows using the default compiler defined by make(1) (i.e., c99(1)), thus improving POSIX compatibility.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 517959c..36bc50f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
.POSIX:
.SUFFIXES: .c .o
-CC = cc # c99 (default value) does not allow POSIX extensions.
PROJECT = slcl
O = -Og
CDEFS = -D_FILE_OFFSET_BITS=64 # Required for large file support on 32-bit.