소스 검색

explicitly link against stdc++

Stefan Siegl 7 년 전
부모
커밋
c8d5e23d9b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Commandfile

+ 1 - 1
Commandfile

@@ -11,7 +11,7 @@ command 'configure',
   description: 'executes "configure" to prepare build',
   parameters: {
     cxxflags: { default: "-ggdb -Wall -Wno-write-strings" },
-    ldflags: { default: "-ggdb" },
+    ldflags: { default: "-ggdb -lstdc++" },
   },
   script: <<-eof
     bash -c 'cd /data/build; ../v8js/configure `bash -c "if test -d /opt/libv8-*; then echo -n --with-v8js=; echo /opt/libv8-*; fi"` `test -d "/usr/lib64" && echo --with-libdir=lib64` CXXFLAGS="%{cxxflags}" LDFLAGS="%{ldflags}"'