3007a9ad7e
Build version 2.25.2 OBS-URL: https://build.opensuse.org/request/show/144819 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=4
30 lines
965 B
Diff
30 lines
965 B
Diff
diff -Naur sdk.orig/angelscript/projects/gnuc/makefile sdk/angelscript/projects/gnuc/makefile
|
|
--- sdk.orig/angelscript/projects/gnuc/makefile 2012-02-03 20:37:58.000000000 +0100
|
|
+++ sdk/angelscript/projects/gnuc/makefile 2012-12-09 12:12:18.084068824 +0100
|
|
@@ -47,7 +47,7 @@
|
|
CXX ?= gcc
|
|
# On i686 architecture you may need to add -march=i686 if you get
|
|
# an undefined symbol for __sync_sub_and_fetch_4 in as_atomic.cpp.
|
|
- CXXFLAGS += -g -Wall -fPIC -fno-strict-aliasing
|
|
+ my_CXXFLAGS += -g -Wall -fPIC -fno-strict-aliasing
|
|
endif
|
|
|
|
AR ?= ar
|
|
@@ -122,13 +122,13 @@
|
|
mkdir $(LIBDIR)
|
|
|
|
$(OBJDIR)/%.o: $(SRCDIR)/%.cpp
|
|
- $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
+ $(CXX) $(my_CXXFLAGS) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
$(OBJDIR)/%.o: $(SRCDIR)/%.S
|
|
- $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
+ $(CXX) $(my_CXXFLAGS) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
$(OBJDIR)/%.o: $(SRCDIR)/%.s
|
|
- $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
+ $(CXX) $(my_CXXFLAGS) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
|
|
clean:
|