| ... | @@ -1295,6 +1295,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) { | ... | @@ -1295,6 +1295,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) { |
| 1295 | c_file->args.append("-include"); | 1295 | c_file->args.append("-include"); |
| 1296 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-modules.h")); | 1296 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-modules.h")); |
| 1297 | c_file->args.append("-DMODULE_NAME=libc"); | 1297 | c_file->args.append("-DMODULE_NAME=libc"); |
| | 1298 | c_file->args.append("-Wno-nonportable-include-path"); |
| 1298 | c_file->args.append("-include"); | 1299 | c_file->args.append("-include"); |
| 1299 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-symbols.h")); | 1300 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-symbols.h")); |
| 1300 | c_file->args.append("-DTOP_NAMESPACE=glibc"); | 1301 | c_file->args.append("-DTOP_NAMESPACE=glibc"); |
| ... | @@ -1321,6 +1322,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) { | ... | @@ -1321,6 +1322,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) { |
| 1321 | c_file->args.append("-include"); | 1322 | c_file->args.append("-include"); |
| 1322 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-modules.h")); | 1323 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-modules.h")); |
| 1323 | c_file->args.append("-DMODULE_NAME=libc"); | 1324 | c_file->args.append("-DMODULE_NAME=libc"); |
| | 1325 | c_file->args.append("-Wno-nonportable-include-path"); |
| 1324 | c_file->args.append("-include"); | 1326 | c_file->args.append("-include"); |
| 1325 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-symbols.h")); | 1327 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-symbols.h")); |
| 1326 | c_file->args.append("-DPIC"); | 1328 | c_file->args.append("-DPIC"); |
| ... | @@ -1377,6 +1379,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) { | ... | @@ -1377,6 +1379,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) { |
| 1377 | c_file->args.append("-include"); | 1379 | c_file->args.append("-include"); |
| 1378 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-modules.h")); | 1380 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-modules.h")); |
| 1379 | c_file->args.append("-DMODULE_NAME=libc"); | 1381 | c_file->args.append("-DMODULE_NAME=libc"); |
| | 1382 | c_file->args.append("-Wno-nonportable-include-path"); |
| 1380 | c_file->args.append("-include"); | 1383 | c_file->args.append("-include"); |
| 1381 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-symbols.h")); | 1384 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-symbols.h")); |
| 1382 | c_file->args.append("-DPIC"); | 1385 | c_file->args.append("-DPIC"); |
| ... | @@ -1420,6 +1423,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) { | ... | @@ -1420,6 +1423,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) { |
| 1420 | c_file->args.append("-include"); | 1423 | c_file->args.append("-include"); |
| 1421 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-modules.h")); | 1424 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-modules.h")); |
| 1422 | c_file->args.append("-DMODULE_NAME=libc"); | 1425 | c_file->args.append("-DMODULE_NAME=libc"); |
| | 1426 | c_file->args.append("-Wno-nonportable-include-path"); |
| 1423 | c_file->args.append("-include"); | 1427 | c_file->args.append("-include"); |
| 1424 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-symbols.h")); | 1428 | c_file->args.append(path_from_libc(parent, "glibc" OS_SEP "include" OS_SEP "libc-symbols.h")); |
| 1425 | c_file->args.append("-DPIC"); | 1429 | c_file->args.append("-DPIC"); |