openbsd-ports/emulators/openmsx/patches/patch-build_main_mk
2011-09-07 01:35:41 +00:00

22 lines
913 B
Plaintext

$OpenBSD: patch-build_main_mk,v 1.1 2011/09/07 01:35:41 bentley Exp $
--- build/main.mk.orig Tue Aug 30 20:40:16 2011
+++ build/main.mk Tue Aug 30 20:41:36 2011
@@ -525,7 +525,7 @@ $(OBJECTS_FULL): $(OBJECTS_PATH)/%.o: $(SOURCES_PATH)/
@echo "Compiling $(patsubst $(SOURCES_PATH)/%,%,$<)..."
@mkdir -p $(@D)
@mkdir -p $(patsubst $(OBJECTS_PATH)%,$(DEPEND_PATH)%,$(@D))
- @$(COMPILE_ENV) $(CXX) \
+ $(COMPILE_ENV) $(CXX) \
$(DEPEND_FLAGS) -MMD -MF $(DEPEND_SUBST) \
-o $@ $(CXXFLAGS) $(COMPILE_FLAGS) -c $<
@touch $@ # Force .o file to be newer than .d file.
@@ -568,7 +568,7 @@ $(BINARY_FULL): $(OBJECTS_FULL) $(RESOURCE_OBJ)
ifeq ($(OPENMSX_SUBSET),)
@echo "Linking $(notdir $@)..."
@mkdir -p $(@D)
- @$(LINK_ENV) $(CXX) -o $@ $(CXXFLAGS) $^ $(LINK_FLAGS)
+ $(LINK_ENV) $(CXX) -o $@ $(CXXFLAGS) $^ $(LINK_FLAGS)
ifeq ($(STRIP_SEPARATE),true)
@echo "Stripping $(notdir $@)..."
@strip $@