diff options
author | Dan Theisen <djt@hxx.in> | 2019-09-22 04:24:21 +0000 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2019-09-22 04:40:33 +0000 |
commit | ce0e576ac41ee22cf821b640e97e07f263ce44ce (patch) | |
tree | 27379636a859876c27be0506c60ab2eb58761b2f /template/bin.gpr | |
parent | 8158ef186bf16307b6ed2c329cf008064c6ba868 (diff) | |
download | userland-ce0e576ac41ee22cf821b640e97e07f263ce44ce.tar.gz userland-ce0e576ac41ee22cf821b640e97e07f263ce44ce.tar.bz2 userland-ce0e576ac41ee22cf821b640e97e07f263ce44ce.tar.xz userland-ce0e576ac41ee22cf821b640e97e07f263ce44ce.zip |
lib/bsdutil: add library for common utility functions
Diffstat (limited to 'template/bin.gpr')
-rw-r--r-- | template/bin.gpr | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/template/bin.gpr b/template/bin.gpr index db20fba..2948e1f 100644 --- a/template/bin.gpr +++ b/template/bin.gpr @@ -1,22 +1,8 @@ -abstract project bin is +with "lib/bsdutil/bsdutil.gpr"; +abstract project bin extends "template/base.gpr" is - CFLAGS := External_As_List ("CFLAGS", " "); - - for Languages use ("C"); - - package Compiler is - for Default_Switches ("C") use ("-std=c11", - "-Wall", - "-Wextra", - "-Wpedantic") & CFLAGS; - end Compiler; - - package Linker is - for Trailing_Switches ("C") use ("-lbsd"); - end Linker; - - package Install is - for Install_Project use "false"; - end Install; + package Linker renames base.Linker; + package Compiler renames base.Compiler; + package Install renames base.Install; end bin; |