Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
4cfacf5c
Commit
4cfacf5c
authored
6 years ago
by
Marco Z
Browse files
Options
Downloads
Patches
Plain Diff
Check for NONX86 in addition to X86_64; move MINGW64 subflags from win32/Makefile.cfg to Makefile
parent
d048e7cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!488
Merge in next and don't billboard papersprites in GL
,
!440
MinGW64:Target nocona for 64-bit builds [revision]
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile
+15
-11
15 additions, 11 deletions
src/Makefile
src/win32/Makefile.cfg
+0
-2
0 additions, 2 deletions
src/win32/Makefile.cfg
with
15 additions
and
13 deletions
src/Makefile
+
15
−
11
View file @
4cfacf5c
...
...
@@ -104,8 +104,18 @@ endif
ifdef
LINUX64
LINUX
=
1
NONX86
=
1
# LINUX64 does not imply X86_64=1; could mean ARM64 or Itanium
endif
ifdef
MINGW64
MINGW
=
1
NONX86
=
1
NOASM
=
1
# MINGW64 should not necessarily imply X86_64=1, but we make that assumption elsewhere
# Once that changes, remove this
X86_64
=
1
endif
#ifdef MINGW64
ifdef
HAIKU
SDL
=
1
endif
...
...
@@ -176,12 +186,6 @@ ifdef MINGW
include
win32/Makefile.cfg
endif
#ifdef MINGW
ifdef
MINGW64
MINGW
=
1
X86_64
=
1
include
win32/Makefile.cfg
endif
#ifdef MINGW64
ifdef
UNIX
UNIXCOMMON
=
1
endif
...
...
@@ -289,14 +293,14 @@ OPTS += -DCOMPVERSION
ifndef
NONX86
ifndef
GCC29
M5
=
-march
=
pentium
M5
?
=
-march
=
pentium
else
M5
=
-mpentium
M5
?
=
-mpentium
endif
endif
else
ifdef
X86_64
M5
=
-march
=
nocona
M5
?=
-march
=
nocona
endif
endif
ifndef
NOASM
...
...
This diff is collapsed.
Click to expand it.
src/win32/Makefile.cfg
+
0
−
2
View file @
4cfacf5c
...
...
@@ -7,8 +7,6 @@
#
ifdef
MINGW64
NOASM=1
NONX86=1
HAVE_LIBGME=1
LIBGME_CFLAGS=-I../libs/gme/include
LIBGME_LDFLAGS=-L../libs/gme/win64
-lgme
...
...
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