Do not use to new compiler switches.

This commit is contained in:
Per Sandberg 2014-03-02 21:20:44 +01:00
parent 1fe24bc03c
commit cc92d5e73e
1 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@
-- --
-- P r o j e c t --
-- --
-- Copyright (C) 2010-2011, per.sandberg@bredband.net --
-- Copyright (C) 2010-2016, per.s.sandberg@bahnhof.se --
-- --
-- 0MQ Ada-binding is free software; you can redistribute it and/or --
-- modify it under terms of the GNU General Public License as published --
@ -44,11 +44,10 @@ project ZMQ is
for Source_Dirs use (".", "src", "src/gen");
-- ,"_src-exprimental");
for Externally_Built use "False";
case ZMQ_Kind is
when "static" =>
for Library_Kind use "static";
when "relocatable" =>
for Library_Kind use "dynamic";
for Library_Auto_Init use "True";
@ -70,7 +69,7 @@ project ZMQ is
for Driver ("Python") use "";
for Default_Switches ("ada") use
("-g", "-O2", "-gnatf", "-gnat12", "-gnatwa", "-gnaty", "-gnatn2");
("-g", "-O2", "-gnatf", "-gnat12", "-gnatwa", "-gnaty");
for Switches ("zmq-low_level.ads") use
Compiler'Default_Switches ("ada") & ("-gnaty-M");