Skip to content

Commit

Permalink
remove --debugger* options and try to fix build on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 4, 2017
1 parent 7fb987e commit fde3697
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -5,6 +5,7 @@ before_install:
- wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
- sh ./travis_setup.sh -p "docbook-xsl xsltproc yast2-devtools bison flex libboost-dev pkg-config expect dejagnu libxcrypt-dev doxygen language-pack-en language-pack-cs automake"
script:
- export LDFLAGS=--no-as-needed
- make -f Makefile.cvs
- make -j 4
- sudo make install
Expand Down
13 changes: 0 additions & 13 deletions liby2/src/genericfrontend.cc
Expand Up @@ -651,19 +651,6 @@ main (int argc, char **argv)

// FIXME the whole option parsing sucks **** !

// old backward compatibility stuff
if (!strcmp(argv[arg], "--debugger"))
{
setenv("Y2DEBUGGER", "1", 1);
arg+=1;
}

if (!strcmp(argv[arg], "--debugger-remote"))
{
setenv("Y2DEBUGGER", "remote", 1);
arg+=1;
}

// list of -I / -M pathes
// will be pushed to YCPPathSearch later to keep correct order
// (the last added path to YCPPathSearch will be searched first)
Expand Down

0 comments on commit fde3697

Please sign in to comment.