Changes in meson/part/compiler_args/meson.build [8f9f9b1:765995a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/part/compiler_args/meson.build
r8f9f9b1 r765995a 110 110 extra_cppflags = extra_common_flags + [ 111 111 '-fno-exceptions', 112 '-Wno-misleading-indentation',113 112 '-frtti', 114 113 ] … … 129 128 add_project_link_arguments(extra_cflags, language : [ lang ]) 130 129 endforeach 131 132 # This flag is needed at several places, hence we define it here.133 #134 # For backwards compatibility we try to detect --no-warn-rwx-segments.135 # However, the autodetection done by Meson also results in136 # "cannot find entry symbol _start; defaulting to 00000000004000b0"137 # thus the option is never supported alone. So when detecting we also138 # specify --entry=main so that the stub source provided by Meson is build139 # correctly.140 ldflags_ignore_rwx_segments = []141 if cc.has_link_argument('-Wl,--no-warn-rwx-segments,--entry=main')142 ldflags_ignore_rwx_segments += ['-Wl,--no-warn-rwx-segments']143 endif
Note:
See TracChangeset
for help on using the changeset viewer.