Skip to content

Commit

Permalink
Merge pull request #116 from dgraham/fix-build
Browse files Browse the repository at this point in the history
Build ICU 59.1 with C++ 11
  • Loading branch information
brianmario authored Aug 14, 2017
2 parents 5309411 + 6fac209 commit 51d8a2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
before_install:
- sudo apt-get update -qq
- sudo apt-get install libicu-dev
dist: trusty
addons:
apt:
packages:
- libicu-dev
language: ruby
rvm:
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0.0
- 1.9.3
1 change: 1 addition & 0 deletions ext/charlock_holmes/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def sys(cmd)
have_library 'icuuc' or abort 'libicuuc missing'
have_library 'icudata' or abort 'libicudata missing'

$CXXFLAGS << ' -std=c++11'
$CFLAGS << ' -Wall -funroll-loops'
$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG']

Expand Down

0 comments on commit 51d8a2f

Please sign in to comment.