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
bf2e77ec
Commit
bf2e77ec
authored
Dec 16, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to match the CPython extension cflags more closely
parent
9eac7e76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Makefile
Makefile
+3
-4
No files found.
Makefile
View file @
bf2e77ec
...
...
@@ -328,8 +328,7 @@ run_unittests:: run_$1_unittests
)
endef
override
GDB_CMDS
?=
override GDB_CMDS
:
= --ex "set confirm off" --ex "handle SIGUSR2 pass nostop noprint" --ex run --ex "bt 20" $(GDB_CMDS)
GDB_CMDS
:=
$(GDB_PRE_CMDS)
--ex
"set confirm off"
--ex
"handle SIGUSR2 pass nostop noprint"
--ex
run
--ex
"bt 20"
$(GDB_POST_CMDS)
BR
?=
ARGS
?=
ifneq
($(BR),)
...
...
@@ -935,9 +934,9 @@ TEST_EXT_MODULE_NAMES := basic_test descr_test slots_test
.PHONY
:
ext_pyston
ext_pyston
:
$(TEST_EXT_MODULE_NAMES:%=$(TEST_DIR)/test_extension/%.pyston.so)
$(TEST_DIR)/test_extension/%.pyston.so
:
$(TEST_DIR)/test_extension/%.o $(BUILD_SYSTEM_DEPS)
$(CLANG_EXE)
-shared
$<
-o
$@
-g
gcc
-pthread
-shared
-Wl
,-O1
-Wl
,-Bsymbolic-functions
-Wl
,-z,relro
$<
-o
$@
-g
$(TEST_DIR)/test_extension/%.o
:
$(TEST_DIR)/test_extension/%.c $(wildcard ./include/*.h) $(BUILD_SYSTEM_DEPS)
$(CLANG_EXE)
-O2
-fPIC
-Wimplicit
-I
./include
-c
$<
-o
$@
-g
gcc
-pthread
-fno-strict-aliasing
-DNDEBUG
-g
-fwrapv
-O2
-Wall
-Wstrict-prototypes
-fPIC
-Wimplicit
-I
./include
-c
$<
-o
$@
.PHONY
:
ext_pyston_selfhost dbg_ext_pyston_selfhost ext_pyston_selfhost_release
ext_pyston_selfhost
:
pyston_dbg $(TEST_EXT_MODULE_NAMES:%=$(TEST_DIR)/test_extension/*.c)
...
...
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