-
-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vice: add xpet, properly fix makefile
- Loading branch information
Showing
4 changed files
with
45 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
packages/lakka/libretro_cores/vice/patches/Avoid-multiple-LDFLAGS.patch
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
packages/lakka/libretro_cores/vice/patches/vice-01-fix_makefile.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
diff --git a/Makefile b/Makefile | ||
index fc2830e..c29d524 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -438,10 +438,11 @@ ifeq ($(platform), theos_ios) | ||
include $(THEOS_MAKE_PATH)/library.mk | ||
else | ||
|
||
-default: | ||
+default: info all | ||
+ | ||
+info: | ||
$(info CFLAGS: $(PLATFLAGS) $(COMMONFLAGS)) | ||
$(info -------) | ||
- $(MAKE) $(TARGET) | ||
|
||
all: $(TARGET) | ||
|
||
@@ -461,21 +462,21 @@ endif | ||
|
||
$(OBJDIR)/%.o: %.c | ||
@mkdir -p $(dir $@) | ||
- @if [[ $(SILENT) -ne 1 ]]; then\ | ||
+ @if [ $(SILENT) -ne 1 ]; then\ | ||
$(if $@, $(shell echo echo CC $<),);\ | ||
fi | ||
$(CC) $(CFLAGS) -c -o $@ $< | ||
|
||
$(OBJDIR)/%.o: %.cpp | ||
@mkdir -p $(dir $@) | ||
- @if [[ $(SILENT) -ne 1 ]]; then\ | ||
+ @if [ $(SILENT) -ne 1 ]; then\ | ||
$(if $@, $(shell echo echo CXX $<),);\ | ||
fi | ||
$(CXX) $(CXXFLAGS) -c -o $@ $< | ||
|
||
$(OBJDIR)/%.o: %.cc | ||
@mkdir -p $(dir $@) | ||
- @if [[ $(SILENT) -ne 1 ]]; then\ | ||
+ @if [ $(SILENT) -ne 1 ]; then\ | ||
$(if $@, $(shell echo echo CXX $<),);\ | ||
fi | ||
$(CXX) $(CXXFLAGS) -c -o $@ $< |