make/gcc.mk

Tue, 13 Aug 2019 22:03:19 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 13 Aug 2019 22:03:19 +0200
changeset 209
a6d8181a8127
parent 204
e870a7c8f223
child 457
982e67c997e1
permissions
-rw-r--r--

replace source with . in configure script and fix toolchain detection

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