make/gcc.mk

Sat, 19 Feb 2022 16:34:29 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 19 Feb 2022 16:34:29 +0100
branch
webdav
changeset 287
a171da778817
parent 204
e870a7c8f223
child 457
982e67c997e1
permissions
-rw-r--r--

prepare build system for postgresql plugin tests

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