Permalink
Browse files

Added build scripts to compile with clang and libc++.

  • Loading branch information...
1 parent f38e3e8 commit f9b9f08f163822961b11c6f1a78bbaf822455fe5 @Amanieu committed Mar 25, 2013
Showing with 5 additions and 0 deletions.
  1. +2 −0 build-shared-clang-libc++.sh
  2. +3 −0 build-static-clang-libc++.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+clang++ -std=c++11 -Wall -Wextra -pedantic -pthread -Iinclude src/scheduler.cpp -fvisibility=hidden -flto -O3 -fpic -DLIBASYNC_BUILD -shared -o libasync++.so -stdlib=libc++ -lc++abi
@@ -0,0 +1,3 @@
+#!/bin/sh
+clang++ -std=c++11 -Wall -Wextra -pedantic -pthread -Iinclude src/scheduler.cpp -fvisibility=hidden -O3 -DLIBASYNC_BUILD -DLIBASYNC_STATIC -c -o scheduler.o -stdlib=libc++
+ar rcs libasync++.a scheduler.o

0 comments on commit f9b9f08

Please sign in to comment.