make/gcc.mk

Wed, 08 Jun 2022 19:14:57 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 08 Jun 2022 19:14:57 +0200
branch
cpp-ports
changeset 364
e56f9c6f6b8f
parent 204
e870a7c8f223
child 457
982e67c997e1
permissions
-rw-r--r--

fix code that is not standard C

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