notaz.gp2x.de
/
ia32rtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
421216a
)
fix non-cross compile
author
notaz
<notasas@gmail.com>
Fri, 18 Sep 2015 00:42:57 +0000
(
03:42
+0300)
committer
notaz
<notasas@gmail.com>
Fri, 18 Sep 2015 00:42:57 +0000
(
03:42
+0300)
winelib.mak
patch
|
blob
|
blame
|
history
diff --git
a/winelib.mak
b/winelib.mak
index
ed1f34d
..
86e2085
100644
(file)
--- a/
winelib.mak
+++ b/
winelib.mak
@@
-11,7
+11,10
@@
LDFLAGS += -g
ifdef ARM
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon
CFLAGS += -Wno-unused -fsigned-char
ifdef ARM
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon
CFLAGS += -Wno-unused -fsigned-char
-WGCC_FLAGS += -marm -b$(patsubst %-,%,$(CROSS_COMPILE))
+WGCC_FLAGS += -marm
+ifneq ($(CROSS_COMPILE),)
+WGCC_FLAGS += -b$(patsubst %-,%,$(CROSS_COMPILE))
+endif
# wine defines wchar_t correctly, doesn't use -fshort-wchar, we can't too
WGCC_FLAGS += -fno-short-wchar
# WGCC_FLAGS += --sysroot $(WINEROOT)
# wine defines wchar_t correctly, doesn't use -fshort-wchar, we can't too
WGCC_FLAGS += -fno-short-wchar
# WGCC_FLAGS += --sysroot $(WINEROOT)