aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhizzlekizzle2020-01-10 18:48:14 -0600
committerGitHub2020-01-10 18:48:14 -0600
commitc216559b9e0dc3d7f059dcf31b813402ad47fea5 (patch)
tree77d01afb8b674ddaa9e848d5eb79fc454d45fc7b /Makefile
parent197058cbea6d59cb567be65ac6addebdabd5b114 (diff)
parentc7beb306cf305d142de9e8b6426f588477940e7f (diff)
downloadsnes9x2005-c216559b9e0dc3d7f059dcf31b813402ad47fea5.tar.gz
snes9x2005-c216559b9e0dc3d7f059dcf31b813402ad47fea5.tar.bz2
snes9x2005-c216559b9e0dc3d7f059dcf31b813402ad47fea5.zip
Merge pull request #73 from joolswills/fpic_fix
fixed building on arm - missing -fPIC during compilation - fixes #71
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3e57b3a..f1fe820 100644
--- a/Makefile
+++ b/Makefile
@@ -560,10 +560,10 @@ else ifneq ($(platform),genode)
endif
%.o: %.cpp
- $(CXX) $(CXXFLAGS) -c $(OBJOUT)$@ $<
+ $(CXX) $(fpic) $(CXXFLAGS) -c $(OBJOUT)$@ $<
%.o: %.c
- $(CC) $(CFLAGS) -c $(OBJOUT)$@ $<
+ $(CC) $(fpic) $(CFLAGS) -c $(OBJOUT)$@ $<
ifeq ($(platform), theos_ios)
COMMON_FLAGS := -DIOS $(COMMON_DEFINES) $(INCFLAGS) -I$(THEOS_INCLUDE_PATH) -Wno-error