-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME.defs.mk
39 lines (30 loc) · 1.14 KB
/
README.defs.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Licensed under the creative commons license
# Copyright (c) PathScale Inc. 2009
# The configure script will eventually generate
# a complete and hopefully working defs.mk for multiple platforms
# This document will describe the way all options are handled
# in the Makefiles
# Naming convention logic is as follows
# NEW == New way that depends on defs.mk
# L == Local - This was a small prefix that was
# inheirited from prior build system
# The rest should be familiar
# Example
NEWLCFLAGS= -m32
NEWLCXXFLAGS= -m32
NEWLLDFLAGS= -m32
# LDFLAGS, CXXLDFLAGS and any other inconsistent variant are
# all being replaced with $(NEWLLDFLAGS)
# The reason is simple. Leave the existing mess in place and
# slowly refactor it out and not depend on it.
# Also I see no reasonable reason why a c object and c++ would link
# differently. This seems uncommon and until there's an explicit
# need for it, it's being removed
# External libelf.. *joy*
LIBELF_A = /path/to/libelf.a
# When you want to build the native only lib version for libhugetlbfs
BUILD_LIB_TYPE = NATIVEONLY
# Default C compiler
NEWLCC = gcc
# Build compiler GNU or pathcc
BUILD_COMPILER := GNU