Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
highlight
highlight-3.30-use_optflags.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File highlight-3.30-use_optflags.patch of Package highlight
diff -up highlight-3.30/src/makefile.orig highlight-3.30/src/makefile --- src/makefile.orig 2016-07-06 19:30:36.100010149 +0200 +++ src/makefile 2016-07-06 19:31:54.433504417 +0200 @@ -13,12 +13,11 @@ # See src/gui-qt/highlight.pro for the Qt GUI compilation options CXX=g++ - -# was: qmake-qt5 -QMAKE=qmake +QMAKE=qmake-qt5 # Added -std=c++11 because of auto_ptr to unique_ptr transition -CFLAGS:=-Wall -O2 ${CFLAGS} -DNDEBUG -std=c++11 +OPTFLAGS=-O2 +CFLAGS:=-Wall -DNDEBUG -std=c++11 $(OPTFLAGS) #CFLAGS:=-ggdb ${CFLAGS} CFLAGS_DILU=-fno-strict-aliasing @@ -113,7 +112,7 @@ gui-qt: highlight-gui highlight-gui: libhighlight.a ${GUI_OBJECTS} cd gui-qt && \ - ${QMAKE} 'DEFINES+=DATA_DIR=\\\"${HL_DATA_DIR}\\\" CONFIG_DIR=\\\"${HL_CONFIG_DIR}\\\" DOC_DIR=\\\"${HL_DOC_DIR}\\\" ' && \ + ${QMAKE} QMAKE_CXXFLAGS="$(OPTFLAGS)" 'DEFINES+=DATA_DIR=\\\"${HL_DATA_DIR}\\\" CONFIG_DIR=\\\"${HL_CONFIG_DIR}\\\" DOC_DIR=\\\"${HL_DOC_DIR}\\\" ' && \ $(MAKE) $(OBJECTFILES) : makefile
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor