chiark / gitweb /
volume_id: provide libvolume_id.a file
[elogind.git] / klibc / klibc / arch / x86_64 / MCONFIG
1 # -*- makefile -*-
2 #
3 # arch/x86-64/MCONFIG
4 #
5 # Special rules for this architecture.  Note that this is actually
6 # included from the main Makefile, and that pathnames should be
7 # accordingly.
8 #
9 # Blatantly copied and modified from i386 version by Mats Petersson, AMD.
10 #
11
12 #
13 # NOTE: -fno-asynchronous-unwind-tables produce significantly smaller
14 # binaries (20% smaller), but makes the code completely useless for
15 # debugging using gdb.
16 #
17 ARCHREQFLAGS = -m64
18 ifeq ($(DEBUG),y)
19 OPTFLAGS     = -Os -fomit-frame-pointer \
20                 -falign-functions=0 -falign-jumps=0 -falign-loops=0
21 else
22 OPTFLAGS     = -Os -fno-asynchronous-unwind-tables -fomit-frame-pointer \
23                 -falign-functions=0 -falign-jumps=0 -falign-loops=0
24 endif
25 BITSIZE      = 64
26 LDFLAGS      = -m elf_x86_64
27
28 # Extra linkflags when building the shared version of the library
29 # This address needs to be reachable using normal inter-module
30 # calls, and work on the memory models for this architecture
31 # 2 MB - normal binaries start at 4 MB
32 SHAREDFLAGS     = -Ttext 0x00200200
33
34 # Additional asm- directories needed during installation
35 ASMARCH = asm-i386
36