]> mj.ucw.cz Git - moe.git/blobdiff - box/mk-syscall-table
Box: Introduce 64-bit mode and mask out syscalls which are not available there
[moe.git] / box / mk-syscall-table
index c4b1e9eeb856d7246528324b3085635fc3577af4..82096d276036765fc2d65db17eaa5c98e8889e91 100755 (executable)
@@ -4,6 +4,6 @@ set -e
 echo '/* Syscall table automatically generated by mk-syscall-table */'
 echo
 echo '#include <asm/unistd.h>' |
-       gcc -E -dM - |
+       gcc -E -dM "$@" - |
        sed 's/^#define __NR_\([^       ]\+\).*/[ __NR_\1 ] = "\1",/;t;d'
 )