I'm afraid those flags are not configurable. You'll have to edit build/config/compiler/BUILD.gn (for -fPIC) and build/config/gcc/BUILD.gn and gni/v8.gni (for -pie) -- but none of the BUILD.gn files under src :-)
Note that this is entirely independent of how you build V8; gm.py has nothing to do with it. Obviously, if this leads to strange issues, you're on your own -- hacking the build files with your custom settings is officially unsupported. Good luck! On Wed, Jul 3, 2019 at 1:17 AM Noah Cantor <noahcantor...@gmail.com> wrote: > My project builds v8 via gm.py. Is there a way to get it to build non-PIC > (i.e. without -fPIC and -pie flags) without modifying all the BUILD.gn > files under src? > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/bc6c0edb-aa77-46e2-8d00-e2dda1be4eff%40googlegroups.com > <https://groups.google.com/d/msgid/v8-users/bc6c0edb-aa77-46e2-8d00-e2dda1be4eff%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAKSzg3RsF9wAn2WTj9DWCiMyiPynxjJKfohmK%3DRDWP5y5xD6kw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.