diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-04-06 19:18:47 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-04-06 19:19:06 +0200 |
commit | c4dc23cb64d6dcadea561a9f0b5ea7a7a5ef7899 (patch) | |
tree | c6d89524d7293e4379eac9c687551cabe38e3793 | |
parent | script: use memfd_create instead of O_TMPFILE (diff) | |
download | cscript-c4dc23cb64d6dcadea561a9f0b5ea7a7a5ef7899.tar.xz cscript-c4dc23cb64d6dcadea561a9f0b5ea7a7a5ef7899.zip |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | cscript.c | 4 | ||||
-rwxr-xr-x | example.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 * - * Copyright (C) 2018-2021 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + * Copyright (C) 2018-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ #include <stdio.h> @@ -60,7 +60,7 @@ int main(int argc, char *argv[], char *envp[]) } close(pipes[0]); } - execlp(cc, cc, "-xc", "-o", output_path, "-", NULL); + execlp(cc, cc, "-pipe", "-xc", "-o", output_path, "-O2", "-march=native", "-", NULL); _exit(1); } @@ -2,7 +2,7 @@ /* SPDX-License-Identifier: GPL-2.0 * - * Copyright (C) 2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + * Copyright (C) 2018-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ #define _GNU_SOURCE |