make/clang.mk

Fri, 24 Feb 2023 09:18:47 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 24 Feb 2023 09:18:47 +0100
changeset 455
e52a9fc670d2
parent 453
4586d534f9b5
child 457
982e67c997e1
permissions
-rw-r--r--

fix double free in case parsing a config file fails

69
4a10bc0ee80d compiles on os x
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 #
204
e870a7c8f223 replace old build system with uwproj
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 146
diff changeset
2 # clang toolchain config
69
4a10bc0ee80d compiles on os x
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 #
4a10bc0ee80d compiles on os x
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
4a10bc0ee80d compiles on os x
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 CFLAGS = -g
453
4586d534f9b5 fix build on macos
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 204
diff changeset
6 LDFLAGS = -rdynamic
4586d534f9b5 fix build on macos
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 204
diff changeset
7 #LDFLAGS = -rdynamic -Wl,-rpath,@loader_path/../lib
4586d534f9b5 fix build on macos
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 204
diff changeset
8 LDFLAGS = -rpath @loader_path/../lib
4586d534f9b5 fix build on macos
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 204
diff changeset
9
69
4a10bc0ee80d compiles on os x
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
10
94
6b15a094d996 minor fixes in snprintf and build system
Mike Becker <universe@uap-core.de>
parents: 91
diff changeset
11 SHLIB_CFLAGS = -fPIC
6b15a094d996 minor fixes in snprintf and build system
Mike Becker <universe@uap-core.de>
parents: 91
diff changeset
12 SHLIB_LDFLAGS = -shared

mercurial