Lines 39-49
Link Here
|
39 |
#define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version) |
39 |
#define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version) |
40 |
EOF |
40 |
EOF |
41 |
|
41 |
|
|
|
42 |
append-lfs-flags |
43 |
|
42 |
sed -i \ |
44 |
sed -i \ |
43 |
-e "s|\(CC :=\) gcc|\1 $(tc-getCC)|" \ |
45 |
-e "s|\(CC :=\) gcc|\1 $(tc-getCC)|" \ |
44 |
-e "s|\(CXX :=\) c++|\1 $(tc-getCXX)|" \ |
46 |
-e "s|\(CXX :=\) c++|\1 $(tc-getCXX)|" \ |
45 |
-e "s|^\(CFLAGS = \)|\1 ${CFLAGS} |" \ |
47 |
-e "s|^\(CFLAGS = \)|\1 ${CFLAGS} |" \ |
46 |
-e "s|^\(CCFLAGS = \)|\1 ${CFLAGS} |" \ |
48 |
-e "s|^\(CCFLAGS = \)|\1 ${CFLAGS} |" \ |
|
|
49 |
-e "s|^\(CPPFLAGS = \)|\1 ${CPPFLAGS} |" \ |
47 |
build/Makefiles/gmake/gcc.mak || die "sed failed" |
50 |
build/Makefiles/gmake/gcc.mak || die "sed failed" |
48 |
|
51 |
|
49 |
local myconf |
52 |
local myconf |
Lines 56-63
Link Here
|
56 |
|
59 |
|
57 |
cd "${S}/build/lib" |
60 |
cd "${S}/build/lib" |
58 |
|
61 |
|
59 |
append-lfs-flags |
|
|
60 |
|
61 |
# It's not an autoconf script |
62 |
# It's not an autoconf script |
62 |
./configure \ |
63 |
./configure \ |
63 |
${myconf} \ |
64 |
${myconf} \ |