aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-14 18:24:48 +0200
committerMattias Andrée <m@maandree.se>2024-10-14 18:24:48 +0200
commit2749dec4940ec8345bbe1eee8b9d554d3d4aa5f4 (patch)
treeb2b4396679eb21af3737fb3c27d139a818f7055e /config.mk
parentFix whitespace (diff)
downloadlibsha2-2749dec4940ec8345bbe1eee8b9d554d3d4aa5f4.tar.gz
libsha2-2749dec4940ec8345bbe1eee8b9d554d3d4aa5f4.tar.bz2
libsha2-2749dec4940ec8345bbe1eee8b9d554d3d4aa5f4.tar.xz
Rename config.mk to config-x86.mk and add config-portable.mk
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk14
1 files changed, 0 insertions, 14 deletions
diff --git a/config.mk b/config.mk
deleted file mode 100644
index a79e63f..0000000
--- a/config.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-PREFIX = /usr
-MANPREFIX = $(PREFIX)/share/man
-
-CC = cc -std=c11
-
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -Wall -O3 -msse4 -msha
-LDFLAGS = -s
-
-# You can add -DALLOCA_LIMIT=# to CPPFLAGS, where # is a size_t
-# value, to put a limit on how large allocation the library is
-# allowed to make with alloca(3). For buffers that can have any
-# size this limit will be used if it wants to allocate a larger
-# buffer. Choose 0 to use malloc(3) instead of alloca(3).