Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
highlight
highlight-3.42-use_optflags.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File highlight-3.42-use_optflags.patch of Package highlight
diff -up ./src/makefile.orig ./src/makefile --- ./src/makefile.orig 2018-01-24 07:34:40.730387118 +0100 +++ ./src/makefile 2018-01-24 07:37:47.886394877 +0100 @@ -16,10 +16,11 @@ 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} -std=c++11 CFLAGS_DILU=-fno-strict-aliasing @@ -114,7 +115,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