make/gcc.mk

Sat, 24 Oct 2020 17:34:32 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 24 Oct 2020 17:34:32 +0200
branch
webdav
changeset 260
4779a6fb4fbe
parent 204
e870a7c8f223
child 457
982e67c997e1
permissions
-rw-r--r--

fix freebsd build

41
bb7a1f5a8b48 added Linux support
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 # gcc toolchain config
41
bb7a1f5a8b48 added Linux support
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 #
bb7a1f5a8b48 added Linux support
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
91
fac51f87def0 ucx update
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 44
diff changeset
5 CFLAGS = -std=gnu99 -g
146
a9591a91c004 fixes server user init
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 97
diff changeset
6 LDFLAGS = -rdynamic -Wl,-R,'$$ORIGIN/../lib'
41
bb7a1f5a8b48 added Linux support
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7
91
fac51f87def0 ucx update
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 44
diff changeset
8 SHLIB_CFLAGS = -fPIC
fac51f87def0 ucx update
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 44
diff changeset
9 SHLIB_LDFLAGS = -shared
fac51f87def0 ucx update
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 44
diff changeset
10
204
e870a7c8f223 replace old build system with uwproj
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 146
diff changeset
11

mercurial