make/suncc.mk

Fri, 24 May 2024 00:27:40 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 24 May 2024 00:27:40 +0200
changeset 821
9b1e998eeac6
parent 802
16e5b9d32754
permissions
-rw-r--r--

actually make sure some random things don't explode

742
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 #
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 # suncc toolchain
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 #
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
802
16e5b9d32754 update build files to latest uwproj
Mike Becker <universe@uap-core.de>
parents: 742
diff changeset
5 CFLAGS += -xc99 -m64
742
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6 LDFLAGS += -m64 -Wl,-R,'$$ORIGIN/../lib'
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7
802
16e5b9d32754 update build files to latest uwproj
Mike Becker <universe@uap-core.de>
parents: 742
diff changeset
8 DEBUG_CC_FLAGS = -g
16e5b9d32754 update build files to latest uwproj
Mike Becker <universe@uap-core.de>
parents: 742
diff changeset
9 RELEASE_CC_FLAGS = -O3 -DNDEBUG
16e5b9d32754 update build files to latest uwproj
Mike Becker <universe@uap-core.de>
parents: 742
diff changeset
10
742
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11 SHLIB_CFLAGS = -Kpic
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 SHLIB_LDFLAGS = -G -m64
7e67689241fd new build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13

mercurial