Skip to content

Commit

Permalink
Makefile.uk: Restrict private headers to -iquote
Browse files Browse the repository at this point in the history
All of libuuid's private headers are included using quotes.
This change therefore restricts the private include path to quote
includes only, to avoid inadvertent overinclusion.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #6
  • Loading branch information
andreittr authored and razvand committed Oct 11, 2023
1 parent 35ff315 commit e5cd70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.uk
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ CINCLUDES-$(CONFIG_LIBUUID) += -I$(LIBUUID_BUILD)/include/public
# in a private folder and export that only locally to libuuid. The prepare
# step below takes care of populating the folder
$(call mk_sub_libbuild_dir,libuuid,include/private)
LIBUUID_CINCLUDES-y += -I$(LIBUUID_BUILD)/include/private
LIBUUID_CINCLUDES-y += -iquote$(LIBUUID_BUILD)/include/private

################################################################################
# Global flags
Expand Down

0 comments on commit e5cd70a

Please sign in to comment.