summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-12-16 12:40:10 +0100
committerMattias Andrée <maandree@kth.se>2023-12-16 12:40:10 +0100
commit683f205402a99cfc8cea46c83ce9b46a42616d42 (patch)
treef6ee1619454a6ec8b9e31770bbbc2abf36aae2fd /config.mk
parentImprove portability (diff)
downloadlibsyscalls-683f205402a99cfc8cea46c83ce9b46a42616d42.tar.gz
libsyscalls-683f205402a99cfc8cea46c83ce9b46a42616d42.tar.bz2
libsyscalls-683f205402a99cfc8cea46c83ce9b46a42616d42.tar.xz
All kinds of stuff
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index c4d7eb3..1cc7dcb 100644
--- a/config.mk
+++ b/config.mk
@@ -19,6 +19,10 @@ LDFLAGS =
# system call description, but only references to them, not their
# instantiations (which have static storage), for that it it relies
# on compiler optimisation.)
+# If you know that the compiler has __builtin_ffsll([unsigned] long long int)
+# which returns the index, plus 1, of the least significant set bit
+# or 0 for 0, you can add -DHAVE_BUILTIN_FFSLL to CPPFLAGS; if you
+# are using GCC>=3.4 or clang>=5, this is added automatically.
DOWNLOAD = curl --