Skip to content

Commit

Permalink
nfs-utils: Add build_in_sourcedir
Browse files Browse the repository at this point in the history
Without build_in_sourcedir the build fails, because -I is used with
relative paths ( `-I../../support/include` ) :

    gcc -DHAVE_CONFIG_H -I.  -I/scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export -I../../support/include  -I/usr/include/tirpc   -D_GNU_SOURCE -pipe -Wall  -Wextra  -Werror=strict-prototypes  -Werror=missing-prototypes -Werror=missing-declarations  -Werror=format=2  -Werror=undef -Werror=missing-include-dirs  -Werror=strict-aliasing=2 -Werror=init-self  -Werror=implicit-function-declaration -Werror=return-type  -Werror=switch  -Werror=overflow -Werror=parentheses  -Werror=aggregate-return  -Werror=unused-result -fno-strict-aliasing  -Werror=format-overflow=2 -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -g -O2 -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o
    /scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export/client.c
    /scratch/local/bee-root/nfs-utils/nfs-utils-2.3.3-0/source/support/export/client.c:22:10:
    fatal error: sockaddr.h: No such file or directory
    #include "sockaddr.h"
              ^~~~~~~~~~~~
    compilation terminated.

Add build_in_sourcedir.
  • Loading branch information
donald committed Dec 28, 2018
1 parent b2fc30b commit 25ef806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nfs-utils.be0
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SRCURL[0]="https://sourceforge.net/projects/nfs/files/nfs-utils/${PKGVERSION}/nf
## outside the source directory and needs to be built inside the source
## directory.

# build_in_sourcedir
build_in_sourcedir

###############################################################################
## bee cannot detect buildtypes specified in subdirectories.
Expand Down

0 comments on commit 25ef806

Please sign in to comment.