Skip to content

Commit

Permalink
ltrace: Add -Wno-deprecated-declarations
Browse files Browse the repository at this point in the history
Add option to ignore the following issue:

    source/sysdeps/linux-gnu/proc.c:245:3: error: 'readdir_r' is deprecated [-Werror=deprecated-declarations]
    if (readdir_r(d, &entry, &result) != 0) {
    ^~
    In file included from .../source/sysdeps/linux-gnu/proc.c:31:0:
    /usr/include/dirent.h:183:12: note: declared here
    extern int readdir_r (DIR *__restrict __dirp,
               ^~~~~~~~~
    cc1: all warnings being treated as errors
  • Loading branch information
donald committed Sep 23, 2019
1 parent 08e9474 commit 05ae781
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ltrace.be0
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ SRCURL[0]="https://www.ltrace.org/ltrace_${PKGVERSION}.orig.tar.bz2"
# bee_configure
#}

#mee_build() {
# bee_build
#}
mee_build() {
bee_build CFLAGS='-Wno-deprecated-declarations'
}

#mee_install() {
# bee_install
Expand Down

0 comments on commit 05ae781

Please sign in to comment.