Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
7e56e552
Commit
7e56e552
authored
10 years ago
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
unix: Refactor order file munging fo MacOSX.
parent
eecf3e90
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
unix/Makefile
+7
-6
7 additions, 6 deletions
unix/Makefile
with
7 additions
and
6 deletions
unix/Makefile
+
7
−
6
View file @
7e56e552
...
...
@@ -7,6 +7,9 @@ PROG = micropython
# qstr definitions (must come before including py.mk)
QSTR_DEFS
=
qstrdefsport.h
# OS name, for simple autoconfig
UNAME_S
:=
$(
shell
uname
-s
)
# include py core make definitions
include
../py/py.mk
...
...
@@ -26,12 +29,7 @@ else
COPT
=
-Os
#-DNDEBUG
endif
UNAME_S
:=
$(
shell
uname
-s
)
ifeq
($(UNAME_S),Darwin)
LDFLAGS
=
$(
LDFLAGS_MOD
)
-lm
-Wl
,-map,
$@
.map,-order_file,
$(
BUILD
)
/order.def
else
LDFLAGS
=
$(
LDFLAGS_MOD
)
-lm
-Wl
,-Map
=
$@
.map,--cref
endif
LDFLAGS
=
$(
LDFLAGS_MOD
)
-lm
-Wl
,-Map
=
$@
.map,--cref
ifeq
($(MICROPY_FORCE_32BIT),1)
CFLAGS
+=
-m32
...
...
@@ -76,6 +74,9 @@ SRC_C = \
$(
SRC_MOD
)
ifeq
($(UNAME_S),Darwin)
LDFLAGS+
=
-Wl,-order_file,$(BUILD)/order.def
# Must be the last file in list of sources
SRC_C
+=
seg_helpers.c
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment