Propagate additional flags through the pnacl-driver.py scripts.
diff --git a/pnacl/driver/pnacl-driver.py b/pnacl/driver/pnacl-driver.py
index 9f52cd6..90cb981 100755
--- a/pnacl/driver/pnacl-driver.py
+++ b/pnacl/driver/pnacl-driver.py
@@ -357,6 +357,8 @@
   ( '(-pedantic)',            AddCCFlag),
   ( '(-pedantic-errors)',     AddCCFlag),
   ( '(-g.*)',                 AddCCFlag),
+  ( ('(-resource-dir)','(.+)'), AddCCFlag),
+  ( ('(--resource-dir=.+)'),    AddCCFlag),
   ( '(-v|--v)',               "env.append('CC_FLAGS', $0)\n"
                               "env.set('VERBOSE', '1')"),
   ( '(-pthreads?)',           "env.set('PTHREAD', '1')"),
@@ -405,6 +407,7 @@
 
   # Ignore these assembler flags
   ( '(-Qy)',                  ""),
+  ( '(-Qunused-arguments)',   ""),
   ( ('(--traditional-format)', '.*'), ""),
   ( '(-gstabs)',              ""),
   ( '(--gstabs)',             ""),