Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 429952 Details for
Bug 579136
dev-libs/re2: version bump to 20160401
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
makefile patch so we don't need to append to cxxflags/ldflags (already upstreamed)
re2-2016-04-01-makefile.patch (text/plain), 3.30 KB, created by
Aric Belsito
on 2016-04-08 22:47:31 UTC
(
hide
)
Description:
makefile patch so we don't need to append to cxxflags/ldflags (already upstreamed)
Filename:
MIME Type:
Creator:
Aric Belsito
Created:
2016-04-08 22:47:31 UTC
Size:
3.30 KB
patch
obsolete
>diff -Naurw re2-2016-04-01.orig/Makefile re2-2016-04-01/Makefile >--- re2-2016-04-01.orig/Makefile 2016-03-31 21:35:40.000000000 -0700 >+++ re2-2016-04-01/Makefile 2016-04-06 23:33:18.076360391 -0700 >@@ -13,9 +13,10 @@ > # LDPCRE=-L/usr/local/lib -lpcre > > CXX?=g++ >-CXXFLAGS?=-std=c++11 -O3 -g -pthread # can override >-RE2_CXXFLAGS?=-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. $(CCICU) $(CCPCRE) # required >-LDFLAGS?=-pthread $(LDICU) >+CXXFLAGS?=-O3 -g # can override >+RE2_CXXFLAGS?=-std=c++11 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. $(CCICU) $(CCPCRE) # required >+LDFLAGS?= >+RE2_LDFLAGS=-pthread $(LDICU) > AR?=ar > ARFLAGS?=rsc > NM?=nm >@@ -44,17 +45,17 @@ > SOEXT=dylib > SOEXTVER=$(SONAME).$(SOEXT) > SOEXTVER00=$(SONAME).0.0.$(SOEXT) >-MAKE_SHARED_LIBRARY=$(CXX) -dynamiclib -Wl,-install_name,@rpath/libre2.$(SOEXTVER),-exported_symbols_list,libre2.symbols.darwin $(LDFLAGS) >+MAKE_SHARED_LIBRARY=$(CXX) -dynamiclib -Wl,-install_name,@rpath/libre2.$(SOEXTVER),-exported_symbols_list,libre2.symbols.darwin $(RE2_LDFLAGS) $(LDFLAGS) > else ifeq ($(shell uname),SunOS) > SOEXT=so > SOEXTVER=$(SOEXT).$(SONAME) > SOEXTVER00=$(SOEXT).$(SONAME).0.0 >-MAKE_SHARED_LIBRARY=$(CXX) -shared -Wl,-soname,libre2.$(SOEXTVER),-M,libre2.symbols $(LDFLAGS) >+MAKE_SHARED_LIBRARY=$(CXX) -shared -Wl,-soname,libre2.$(SOEXTVER),-M,libre2.symbols $(RE2_LDFLAGS) $(LDFLAGS) > else > SOEXT=so > SOEXTVER=$(SOEXT).$(SONAME) > SOEXTVER00=$(SOEXT).$(SONAME).0.0 >-MAKE_SHARED_LIBRARY=$(CXX) -shared -Wl,-soname,libre2.$(SOEXTVER),--version-script,libre2.symbols $(LDFLAGS) >+MAKE_SHARED_LIBRARY=$(CXX) -shared -Wl,-soname,libre2.$(SOEXTVER),--version-script,libre2.symbols $(RE2_LDFLAGS) $(LDFLAGS) > endif > > all: obj/libre2.a obj/so/libre2.$(SOEXT) >@@ -198,20 +199,20 @@ > > obj/dbg/test/%: obj/dbg/libre2.a obj/dbg/re2/testing/%.o $(DTESTOFILES) obj/dbg/util/test.o > @mkdir -p obj/dbg/test >- $(CXX) -o $@ obj/dbg/re2/testing/$*.o $(DTESTOFILES) obj/dbg/util/test.o obj/dbg/libre2.a $(LDFLAGS) $(LDPCRE) >+ $(CXX) -o $@ obj/dbg/re2/testing/$*.o $(DTESTOFILES) obj/dbg/util/test.o obj/dbg/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) $(LDPCRE) > > obj/test/%: obj/libre2.a obj/re2/testing/%.o $(TESTOFILES) obj/util/test.o > @mkdir -p obj/test >- $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) obj/util/test.o obj/libre2.a $(LDFLAGS) $(LDPCRE) >+ $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) obj/util/test.o obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) $(LDPCRE) > > # Test the shared lib, falling back to the static lib for private symbols > obj/so/test/%: obj/so/libre2.$(SOEXT) obj/libre2.a obj/re2/testing/%.o $(TESTOFILES) obj/util/test.o > @mkdir -p obj/so/test >- $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) obj/util/test.o -Lobj/so -lre2 obj/libre2.a $(LDFLAGS) $(LDPCRE) >+ $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) obj/util/test.o -Lobj/so -lre2 obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) $(LDPCRE) > > obj/test/regexp_benchmark: obj/libre2.a obj/re2/testing/regexp_benchmark.o $(TESTOFILES) obj/util/benchmark.o > @mkdir -p obj/test >- $(CXX) -o $@ obj/re2/testing/regexp_benchmark.o $(TESTOFILES) obj/util/benchmark.o obj/libre2.a $(LDFLAGS) $(LDPCRE) >+ $(CXX) -o $@ obj/re2/testing/regexp_benchmark.o $(TESTOFILES) obj/util/benchmark.o obj/libre2.a $(RE2_LDFLAGS) $(LDFLAGS) $(LDPCRE) > > ifdef REBUILD_TABLES > re2/perl_groups.cc: re2/make_perl_groups.pl
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 579136
:
429950
| 429952