]> git.tdb.fi Git - builder.git/blobdiff - source/gnucxxcompiler.h
Only use the -m flag on native arch
[builder.git] / source / gnucxxcompiler.h
index 45b152f3e76544acca2ba1a703494b11cf404579..04c1fb22b5b2d5c38d5a056edf289b028d7fda1f 100644 (file)
@@ -3,6 +3,9 @@
 
 #include "gnucompiler.h"
 
+/**
+The GNU C++ compiler, commonly known as g++.
+*/
 class GnuCxxCompiler: public GnuCompiler
 {
 public:
@@ -10,6 +13,9 @@ public:
 
        virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
        virtual Target *create_source(const Msp::FS::Path &) const;
+
+protected:
+       virtual void do_prepare();
 };
 
 #endif