diff options
| author | Daniil Baturin <daniil@baturin.org> | 2016-04-01 16:45:09 +0600 |
|---|---|---|
| committer | Daniil Baturin <daniil@baturin.org> | 2016-04-01 16:45:09 +0600 |
| commit | 85bdc136388b07d039610df97362f07fe6529e2c (patch) | |
| tree | 325d9a17260678dee3e681881c3469c444530c74 /hvinfo.gpr | |
| parent | 0e1d26b4cb344dbc9e47ee7cb5a5faa3380c58eb (diff) | |
| download | hvinfo-85bdc136388b07d039610df97362f07fe6529e2c.tar.gz hvinfo-85bdc136388b07d039610df97362f07fe6529e2c.zip | |
Crude support for building on non-x86 architectures.
Right now the CPUID procedure is made to return zeroes on non-x86 platforms through
conditional compilation.
A cleaner solution would be to use separate procedures and specify implementation
through gprbuild directives.
Diffstat (limited to 'hvinfo.gpr')
| -rw-r--r-- | hvinfo.gpr | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,5 +5,10 @@ project hvinfo is for Object_Dir use "build"; for Main use ("hvinfo.adb"); + package Compiler is + for Switches ("Ada") use + ("-gnatep=" & hvinfo'Project_Dir & "hvinfo.def", "-I" & hvinfo'Project_Dir); + end Compiler; + end hvinfo; |
