Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Link with X11 correctly and use clang by default

  • Loading branch information...
commit aaf861ed83a91eea075eeced5c20347705afc9b0 1 parent c18b1e2
@ioquatix ioquatix authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 teapot.rb
View
9 teapot.rb
@@ -24,8 +24,8 @@
configure []
- default cc "gcc"
- default cxx "g++"
+ default cc "clang"
+ default cxx "clang++"
end
target.depends :variant
@@ -53,4 +53,9 @@
target.provides "Language/C++11" do
cxxflags %W{-std=c++11 -Wno-c++11-narrowing}
end
+
+ target.provides "Aggregate/Display" do
+ append linkflags ["-lX11", "-lGL"]
+ end
end
+
Please sign in to comment.
Something went wrong with that request. Please try again.