makelib/config-i686.make
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 21 Sep 2018 23:14:41 +0100
changeset 255 6d6880749905
parent 244 8de3e1d78d6a
child 303 7276ef940aa3
permissions -rw-r--r--
Add `tmp` to `.hgignore`
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
169
f9f519bb10b6 Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
#
f9f519bb10b6 Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
# Common definition for i686 arch
f9f519bb10b6 Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
#
f9f519bb10b6 Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
CPU_INTERN_H=cpu_i386.h
f9f519bb10b6 Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
DEFS += -D__amd64_mode32__
f9f519bb10b6 Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
CCCONFOPT = -m32
244
8de3e1d78d6a Makefiles: cleanup / simplification various compiler and flags
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 169
diff changeset
     7
8de3e1d78d6a Makefiles: cleanup / simplification various compiler and flags
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 169
diff changeset
     8
# When performing partial linking, we have to specify `-m elf_i386` in case
8de3e1d78d6a Makefiles: cleanup / simplification various compiler and flags
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 169
diff changeset
     9
# we're compiling 32bit version on otherwise 64bit system - by far the most
8de3e1d78d6a Makefiles: cleanup / simplification various compiler and flags
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 169
diff changeset
    10
# common case these days. If the system is truly 32bit, `-m elf_i386` won't
8de3e1d78d6a Makefiles: cleanup / simplification various compiler and flags
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 169
diff changeset
    11
# hatm.
8de3e1d78d6a Makefiles: cleanup / simplification various compiler and flags
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 169
diff changeset
    12
CLASSLIB_LD=ld -m elf_i386