freebsd-ports/devel/asis-gpl/files/patch-common.gpr
Martin Wilke a61ee8a9e1 The Ada Semantic Interface Specification (ASIS) is an open and
published callable interface that allows a tool to access syntactic
and semantic information about an Ada program, independent of the
compilation environment that compiled the program.

WWW: http://libre.adacore.com/

PR:		ports/107391
Submitted by:	John Merryweather Cooper <john_m_cooper@yahoo.com>
Repocopy by:    marcus
2007-01-18 13:06:29 +00:00

22 lines
853 B
Text

--- common.gpr~ Mon May 22 02:14:10 2006
+++ common.gpr Sun Dec 31 11:09:22 2006
@@ -3,7 +3,7 @@
type Bld_Type is ("prod", "debug");
Bld : Bld_Type := external ("BLD", "debug");
- type OS_Type is ("default_Unix", "powerpc_aix", "pa_hpux");
+ type OS_Type is ("default_Unix", "powerpc_aix", "pa_hpux", "FreeBSD");
OS : OS_Type := external ("OPSYS", "default_Unix");
Ada_Switches := ("-gnatf", "-gnatwue", "-gnaty");
@@ -24,6 +24,10 @@
when "pa_hpux" =>
for Default_Switches ("ada") use
Builder'Default_Switches ("ada") & ("-mdisable-indexing");
+ when "FreeBSD" =>
+ for Default_Switches ("ada") use
+ Builder'Default_Switches ("ada") &
+ ("-fno-strict-aliasing");
when others =>
null;
end case;