distribution/packages/emulators/libretro/vice-lr/patches/001-revert-makefile.patch

32 lines
907 B
Diff
Raw Normal View History

2023-07-15 00:04:05 +00:00
diff -rupN vice.orig/Makefile vice/Makefile
2023-09-16 13:10:57 +00:00
--- vice.orig/Makefile 2023-09-10 22:23:12.000000000 +0000
+++ vice/Makefile 2023-09-16 12:43:09.816419382 +0000
@@ -416,7 +416,6 @@ COMMONFLAGS += -DCORE_NAME=\"$(EMUTYPE)\
2023-07-15 00:04:05 +00:00
include Makefile.common
OBJECTS += $(patsubst %.cpp,%.o,$(SOURCES_CXX:.cc=.o)) $(SOURCES_C:.c=.o)
-PLATFLAGS := $(CFLAGS)
CXXFLAGS += $(fpic) $(INCFLAGS) $(COMMONFLAGS)
CFLAGS += $(fpic) $(INCFLAGS) $(COMMONFLAGS)
LDFLAGS += -lm $(fpic)
2023-09-16 13:10:57 +00:00
@@ -437,12 +436,6 @@ ifeq ($(platform), theos_ios)
2023-07-15 00:04:05 +00:00
${LIBRARY_NAME}_FILES = $(SOURCES_CXX) $(SOURCES_C)
include $(THEOS_MAKE_PATH)/library.mk
else
-
-default:
- $(info CFLAGS: $(PLATFLAGS) $(COMMONFLAGS))
- $(info -------)
- $(MAKE) $(TARGET)
-
all: $(TARGET)
2023-09-16 13:10:57 +00:00
-include $(OBJECTS:.o=.d))
@@ -490,5 +483,5 @@ objectclean:
2023-07-15 00:04:05 +00:00
targetclean:
rm -f $(TARGET)
-.PHONY: all clean objectclean targetclean
+.PHONY: clean
endif