Forráskód Böngészése

explicitly link against stdc++

Stefan Siegl 7 éve
szülő
commit
c8d5e23d9b
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Commandfile

+ 1 - 1
Commandfile

@@ -11,7 +11,7 @@ command 'configure',
   description: 'executes "configure" to prepare build',
   description: 'executes "configure" to prepare build',
   parameters: {
   parameters: {
     cxxflags: { default: "-ggdb -Wall -Wno-write-strings" },
     cxxflags: { default: "-ggdb -Wall -Wno-write-strings" },
-    ldflags: { default: "-ggdb" },
+    ldflags: { default: "-ggdb -lstdc++" },
   },
   },
   script: <<-eof
   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}"'
     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}"'