From c131f122778c62f920a99bbf854ced4a37ee8b03 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 3 Dec 2023 19:23:35 +0100 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- config.mk | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 config.mk (limited to 'config.mk') diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..144b7ac --- /dev/null +++ b/config.mk @@ -0,0 +1,47 @@ +PREFIX = /usr +MANPREFIX = $(PREFIX)/share/man + +CC = cc -std=c2x + +CC_DEF_EXTRACT = +# If set, it will be used with -E -dM (must have the same meaning +# as in GCC and clang), otherwise $(CC) is used if it is GCC or +# clang, otherwise a gcc or clang from PATH is used + +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE +CFLAGS = -Os +LDFLAGS = +# It is important that CFLAGS at least specifies some optimisation, +# otherwise you may get binaries containing a lot of unused symbols +# and so be unnecessarily large. (The build deduplicates identical +# system call description, but only references to them, not their +# instantiations (which have static storage), for that it it relies +# on compiler optimisation.) + +DOWNLOAD = curl -- + +DEFAULT_OS_SUPPORT_SELECTION = yes +# You may for example put `DEFAULT_OS_SUPPORT_SELECTION = no` but add +# `LINUX_SUPPORT = yes` to this file if you always only want to have +# Linux supported. + +#SUPPORTED_ARCHES != util/what-architecture-am-i-using true +# Uncomment this limit supported architectures. You will find which +# architectures are support in Makefile (don't add anything else). +# If you uncomment this without editing it ('!=' means it will execute +# that text behind it as a shell commend; change to '=' to list +# manually), the architecture you are running on, and modes +# (e.g. i386 and x32 on amd64, however if the kernel is built to +# support them)[1], its supports, will be selected. +# [1] Change 'true' to 'false' to exclude them, or remove 'true' +# to support even ones that the kernel is not compiled to support + +# You can also limit supported architectures on an per-OS basis, by +# setting SUPPORTED_${NAME_OF_OS}_ARCHES; you will find the list of +# support architectures in ${name-of-os}/${name-of-os}-support.mk, +# however architectures not support in libsyscalls's core may be listed; +# do not add anything that is not supported by both libsyscalls's core +# and it's OS support + + +# This file is included multiple times, don't do anything weird -- cgit v1.2.3-70-g09d2