Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
9dfad04e
Commit
9dfad04e
authored
Mar 24, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it easier to use the system gcc
parent
992eee47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Makefile
Makefile
+6
-2
No files found.
Makefile
View file @
9dfad04e
...
@@ -176,7 +176,9 @@ COMMON_LDFLAGS += `pkg-config tinfo 2>/dev/null && pkg-config tinfo --libs || ec
...
@@ -176,7 +176,9 @@ COMMON_LDFLAGS += `pkg-config tinfo 2>/dev/null && pkg-config tinfo --libs || ec
COMMON_LDFLAGS
+=
-Wl
,-E
COMMON_LDFLAGS
+=
-Wl
,-E
# We get multiple shared libraries (libstdc++, libgcc_s) from the gcc installation:
# We get multiple shared libraries (libstdc++, libgcc_s) from the gcc installation:
COMMON_LDFLAGS
+=
-Wl
,-rpath
$(GCC_DIR)
/lib64
ifneq
($(GCC_DIR),/usr)
COMMON_LDFLAGS
+=
-Wl
,-rpath
$(GCC_DIR)
/lib64
endif
ifneq
($(USE_DEBUG_LIBUNWIND),0)
ifneq
($(USE_DEBUG_LIBUNWIND),0)
COMMON_LDFLAGS
+=
-L
$(DEPS_DIR)
/libunwind-trunk-debug-install/lib
COMMON_LDFLAGS
+=
-L
$(DEPS_DIR)
/libunwind-trunk-debug-install/lib
...
@@ -443,13 +445,15 @@ define checksha
...
@@ -443,13 +445,15 @@ define checksha
endef
endef
.PHONY
:
format check_format
.PHONY
:
format check_format
ifneq
($(USE_CMAKE),1)
format
:
format
:
cd
src
&&
find
\(
-name
'*.cpp'
-o
-name
'*.h'
\)
-print0
| xargs
-0
$(LLVM_BIN)
/clang-format
-style
=
file
-i
cd
src
&&
find
\(
-name
'*.cpp'
-o
-name
'*.h'
\)
-print0
| xargs
-0
$(LLVM_BIN)
/clang-format
-style
=
file
-i
ifneq
($(USE_CMAKE),1)
check_format
:
check_format
:
$(ECHO)
checking formatting...
$(ECHO)
checking formatting...
$(VERB)
cd
src
&&
../tools/check_format.sh
$(LLVM_BIN)
/clang-format
$(VERB)
cd
src
&&
../tools/check_format.sh
$(LLVM_BIN)
/clang-format
else
else
format
:
$(NINJA)
-C
$(HOME)
/pyston-build-release format
check_format
:
check_format
:
$(NINJA)
-C
$(HOME)
/pyston-build-release check-format
$(NINJA)
-C
$(HOME)
/pyston-build-release check-format
endif
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment