Skip to content

Commit

Permalink
Updated gcc flags, travis
Browse files Browse the repository at this point in the history
  • Loading branch information
luisbarrancos committed Nov 17, 2017
1 parent 813fc0f commit 9e8281f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ branches:
env:
- QT=4
- DEBUG=NO
- FLAGS="CFLAGS=-Wno-unused-parameter CXXFLAGS=-Wno-unused-parameter"

before_install:
- sudo apt-get update -qq
Expand All @@ -22,7 +23,7 @@ before_install:
script:
- echo Using ${NPROC} processes
- qmake -qt=${QT} shrimp.pro
- make -j${NPROC}
- make ${FLAGS} -j${NPROC}

notifications:
email: false
Expand Down
4 changes: 2 additions & 2 deletions shrimp.pro
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ TEMPLATE = app
MOC_DIR = .qmake_temp
OBJECTS_DIR = .qmake_temp

QMAKE_CFLAGS += -fPIC -std=c++11
QMAKE_CXXFLAGS += -fPIC -std=c++11
QMAKE_CFLAGS += -fPIC -Wno-unused-parameter
QMAKE_CXXFLAGS += -fPIC -std=c++11 -Wno-unused-parameter
QMAKE_LFLAGS += -L/usr/lib64 -lglut -fPIC

LIBS += -L/usr/lib64 -L/usr/local/lib64 -lGL -lGLU -lglut
Expand Down

0 comments on commit 9e8281f

Please sign in to comment.