https://bugzilla.redhat.com/show_bug.cgi?id=834747
--- Comment #9 from Julian Leyh julian@vgai.de --- (In reply to comment #8)
No, all the standard compiler and linker flags are missing. The spec file does define GNAT_OPTFLAGS but this doesn't seem to have the intended effect. Maybe try overriding the Make variable on the command line instead?
Okay, I fixed this by overriding the GPRBUILD_FLAGS Make variable on command line.
About templates_parser and gnatcoll, templates_parser is statically linked into the binary, but gnatcoll seems to be dynamically linked. That's why I added it as a dependency. Reading the build output, it seems the bundled version is still built. I will try to get rid of it.